@unocss/webpack 0.32.1 → 0.32.7

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.cjs CHANGED
@@ -4,10 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const unplugin = require('unplugin');
6
6
  const WebpackSources = require('webpack-sources');
7
- require('crypto');
7
+ const core = require('@unocss/core');
8
8
  const pluginutils = require('@rollup/pluginutils');
9
9
  const config = require('@unocss/config');
10
- const core = require('@unocss/core');
11
10
 
12
11
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
13
12
 
package/dist/index.mjs CHANGED
@@ -1,9 +1,8 @@
1
1
  import { createUnplugin } from 'unplugin';
2
2
  import WebpackSources from 'webpack-sources';
3
- import 'crypto';
3
+ import { createGenerator, BetterMap } from '@unocss/core';
4
4
  import { createFilter } from '@rollup/pluginutils';
5
5
  import { loadConfig } from '@unocss/config';
6
- import { createGenerator, BetterMap } from '@unocss/core';
7
6
 
8
7
  function getPath(id) {
9
8
  return id.replace(/\?.*$/, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/webpack",
3
- "version": "0.32.1",
3
+ "version": "0.32.7",
4
4
  "description": "The Webpack plugin for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@rollup/pluginutils": "^4.2.1",
40
- "@unocss/config": "0.32.1",
41
- "@unocss/core": "0.32.1",
40
+ "@unocss/config": "0.32.7",
41
+ "@unocss/core": "0.32.7",
42
42
  "unplugin": "^0.6.2",
43
43
  "webpack-sources": "^3.2.3"
44
44
  },