@unocss/webpack 0.47.0 → 0.47.2

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
@@ -38,7 +38,7 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
38
38
  const affectedModules = /* @__PURE__ */ new Set();
39
39
  let ready = reloadConfig();
40
40
  async function reloadConfig() {
41
- const result = await config.loadConfig(root, configOrPath, extraConfigSources);
41
+ const result = await config.loadConfig(root, configOrPath, extraConfigSources, defaults);
42
42
  resolveConfigResult(result);
43
43
  rawConfig = result.config;
44
44
  configFileList = result.sources;
package/dist/index.mjs CHANGED
@@ -28,7 +28,7 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
28
28
  const affectedModules = /* @__PURE__ */ new Set();
29
29
  let ready = reloadConfig();
30
30
  async function reloadConfig() {
31
- const result = await loadConfig(root, configOrPath, extraConfigSources);
31
+ const result = await loadConfig(root, configOrPath, extraConfigSources, defaults);
32
32
  resolveConfigResult(result);
33
33
  rawConfig = result.config;
34
34
  configFileList = result.sources;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/webpack",
3
- "version": "0.47.0",
3
+ "version": "0.47.2",
4
4
  "description": "The Webpack plugin for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@ampproject/remapping": "^2.2.0",
40
40
  "@rollup/pluginutils": "^5.0.2",
41
- "@unocss/config": "0.47.0",
42
- "@unocss/core": "0.47.0",
41
+ "@unocss/config": "0.47.2",
42
+ "@unocss/core": "0.47.2",
43
43
  "magic-string": "^0.26.7",
44
44
  "unplugin": "^1.0.0",
45
45
  "webpack-sources": "^3.2.3"