@nuxt/webpack-builder 3.2.1 → 3.2.3
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/README.md +1 -0
- package/dist/index.mjs +4 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ Nuxt's goal is to make web development intuitive and performant, with a great de
|
|
|
11
11
|
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/v/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Version"></a>
|
|
12
12
|
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/dm/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads"></a>
|
|
13
13
|
<a href="./LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
|
|
14
|
+
<a href="https://nuxt.com"><img src="https://img.shields.io/badge/Open%20Documentation-18181B?logo=nuxt.js" alt="Website"></a>
|
|
14
15
|
<a href="https://volta.net/nuxt/nuxt?utm_source=nuxt_readme"><img src="https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg" alt="Volta board"></a>
|
|
15
16
|
</p>
|
|
16
17
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import pify from 'pify';
|
|
2
|
-
import webpack
|
|
2
|
+
import webpack from 'webpack';
|
|
3
3
|
import { fromNodeMiddleware, defineEventHandler } from 'h3';
|
|
4
4
|
import webpackDevMiddleware from 'webpack-dev-middleware';
|
|
5
5
|
import webpackHotMiddleware from 'webpack-hot-middleware';
|
|
@@ -157,9 +157,9 @@ ${options.globalPublicPath} = buildAssetsURL();
|
|
|
157
157
|
|
|
158
158
|
const pluginName = "ChunkErrorPlugin";
|
|
159
159
|
const script = `
|
|
160
|
-
if (typeof ${RuntimeGlobals.require} !== "undefined") {
|
|
161
|
-
var _ensureChunk = ${RuntimeGlobals.ensureChunk};
|
|
162
|
-
${RuntimeGlobals.ensureChunk} = function (chunkId) {
|
|
160
|
+
if (typeof ${webpack.RuntimeGlobals.require} !== "undefined") {
|
|
161
|
+
var _ensureChunk = ${webpack.RuntimeGlobals.ensureChunk};
|
|
162
|
+
${webpack.RuntimeGlobals.ensureChunk} = function (chunkId) {
|
|
163
163
|
return Promise.resolve(_ensureChunk(chunkId)).catch(err => {
|
|
164
164
|
const e = new Event("nuxt.preloadError");
|
|
165
165
|
e.payload = err;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/webpack-builder",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"repository": "nuxt/nuxt",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@babel/core": "^7.
|
|
16
|
+
"@babel/core": "^7.21.0",
|
|
17
17
|
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
|
|
18
|
-
"@nuxt/kit": "3.2.
|
|
18
|
+
"@nuxt/kit": "3.2.3",
|
|
19
19
|
"autoprefixer": "^10.4.13",
|
|
20
20
|
"css-loader": "^6.7.3",
|
|
21
21
|
"css-minimizer-webpack-plugin": "^4.2.2",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"fs-extra": "^11.1.0",
|
|
29
29
|
"hash-sum": "^2.0.0",
|
|
30
30
|
"lodash-es": "^4.17.21",
|
|
31
|
-
"magic-string": "^0.
|
|
31
|
+
"magic-string": "^0.30.0",
|
|
32
32
|
"memfs": "^3.4.13",
|
|
33
33
|
"mini-css-extract-plugin": "^2.7.2",
|
|
34
34
|
"mlly": "^1.1.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"postcss-url": "^10.1.3",
|
|
42
42
|
"style-resources-loader": "^1.5.0",
|
|
43
43
|
"time-fix-plugin": "^2.0.7",
|
|
44
|
-
"ufo": "^1.1.
|
|
44
|
+
"ufo": "^1.1.1",
|
|
45
45
|
"unplugin": "^1.1.0",
|
|
46
46
|
"url-loader": "^4.1.1",
|
|
47
47
|
"vue-bundle-renderer": "^1.0.2",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"webpackbar": "^5.0.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@nuxt/schema": "3.2.
|
|
57
|
+
"@nuxt/schema": "3.2.3",
|
|
58
58
|
"@types/lodash-es": "^4.17.6",
|
|
59
59
|
"@types/pify": "^5.0.1",
|
|
60
60
|
"@types/webpack-bundle-analyzer": "^4.6.0",
|