@plumeria/webpack-plugin 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import type { Compiler } from 'webpack';
2
- export default class PlumeriaPlugin {
2
+ export declare class PlumeriaPlugin {
3
3
  private styles;
4
4
  private virtualModules?;
5
5
  apply(compiler: Compiler): void;
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PlumeriaPlugin = void 0;
6
7
  const webpack_1 = require("webpack");
7
8
  const webpack_virtual_modules_1 = __importDefault(require("webpack-virtual-modules"));
8
9
  const PLUGIN_NAME = 'PlumeriaPlugin';
@@ -30,4 +31,4 @@ class PlumeriaPlugin {
30
31
  this.virtualModules?.writeModule(virtualFileName, css);
31
32
  }
32
33
  }
33
- exports.default = PlumeriaPlugin;
34
+ exports.PlumeriaPlugin = PlumeriaPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/webpack-plugin",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Plumeria Webpack plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,10 +10,9 @@
10
10
  "license": "MIT",
11
11
  "sideEffects": false,
12
12
  "main": "dist/index.js",
13
- "types": "types/index.d.ts",
13
+ "types": "dist/index.d.ts",
14
14
  "files": [
15
- "dist/",
16
- "types/"
15
+ "dist/"
17
16
  ],
18
17
  "scripts": {
19
18
  "build": "rimraf dist types && pnpm cjs",
File without changes
File without changes
File without changes