@plumeria/webpack-plugin 0.1.0 → 0.3.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.
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,15 +1,12 @@
1
1
  {
2
2
  "name": "@plumeria/webpack-plugin",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Plumeria Webpack plugin",
5
- "keywords": [
6
- "react",
7
- "css",
8
- "css-in-js",
9
- "plumeria",
10
- "styling"
11
- ],
12
- "repository": "github:zss-in-js/plumeria",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/zss-in-js/plumeria.git",
8
+ "directory": "packages/webpack-plugin"
9
+ },
13
10
  "license": "MIT",
14
11
  "sideEffects": false,
15
12
  "main": "dist/index.js",
package/types/index.d.ts CHANGED
@@ -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;