@nuxt/webpack-builder 3.5.3 → 3.6.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +9 -5
  2. package/package.json +11 -10
package/dist/index.mjs CHANGED
@@ -458,7 +458,9 @@ function baseConfig(ctx) {
458
458
  ...options.webpack.optimization,
459
459
  minimizer: []
460
460
  },
461
- experiments: {},
461
+ experiments: {
462
+ ...options.webpack.experiments
463
+ },
462
464
  mode: ctx.isDev ? "development" : "production",
463
465
  cache: getCache(ctx),
464
466
  output: getOutput(ctx),
@@ -642,16 +644,18 @@ function esbuild(ctx) {
642
644
  fullySpecified: false
643
645
  },
644
646
  options: {
645
- loader: "ts",
646
- target
647
+ target,
648
+ ...ctx.nuxt.options.webpack.loaders.esbuild,
649
+ loader: "ts"
647
650
  }
648
651
  },
649
652
  {
650
653
  test: /\.m?[jt]sx$/,
651
654
  loader: "esbuild-loader",
652
655
  options: {
653
- loader: "tsx",
654
- target
656
+ target,
657
+ ...ctx.nuxt.options.webpack.loaders.esbuild,
658
+ loader: "tsx"
655
659
  }
656
660
  }
657
661
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder",
3
- "version": "3.5.3",
3
+ "version": "3.6.1",
4
4
  "repository": "nuxt/nuxt",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  "@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
20
20
  "autoprefixer": "^10.4.14",
21
21
  "css-loader": "^6.8.1",
22
- "css-minimizer-webpack-plugin": "^5.0.0",
22
+ "css-minimizer-webpack-plugin": "^5.0.1",
23
23
  "cssnano": "^6.0.1",
24
24
  "esbuild-loader": "^3.0.1",
25
25
  "escape-string-regexp": "^5.0.0",
@@ -27,20 +27,21 @@
27
27
  "file-loader": "^6.2.0",
28
28
  "fork-ts-checker-webpack-plugin": "^8.0.0",
29
29
  "fs-extra": "^11.1.1",
30
- "h3": "^1.6.6",
30
+ "h3": "^1.7.0",
31
31
  "hash-sum": "^2.0.0",
32
32
  "lodash-es": "^4.17.21",
33
33
  "magic-string": "^0.30.0",
34
- "memfs": "^3.5.2",
34
+ "memfs": "^3.5.3",
35
35
  "mini-css-extract-plugin": "^2.7.6",
36
- "mlly": "^1.3.0",
36
+ "mlly": "^1.4.0",
37
37
  "ohash": "^1.1.2",
38
38
  "pathe": "^1.1.1",
39
39
  "pify": "^6.1.0",
40
40
  "postcss": "^8.4.24",
41
41
  "postcss-import": "^15.1.0",
42
- "postcss-loader": "^7.3.2",
42
+ "postcss-loader": "^7.3.3",
43
43
  "postcss-url": "^10.1.3",
44
+ "pug-plain-loader": "^1.1.0",
44
45
  "std-env": "^3.3.3",
45
46
  "time-fix-plugin": "^2.0.7",
46
47
  "ufo": "^1.1.2",
@@ -48,13 +49,13 @@
48
49
  "url-loader": "^4.1.1",
49
50
  "vue-bundle-renderer": "^1.0.3",
50
51
  "vue-loader": "^17.2.2",
51
- "webpack": "^5.85.1",
52
+ "webpack": "^5.88.0",
52
53
  "webpack-bundle-analyzer": "^4.9.0",
53
54
  "webpack-dev-middleware": "^6.1.1",
54
- "webpack-hot-middleware": "^2.25.3",
55
+ "webpack-hot-middleware": "^2.25.4",
55
56
  "webpack-virtual-modules": "^0.5.0",
56
57
  "webpackbar": "^5.0.2",
57
- "@nuxt/kit": "3.5.3"
58
+ "@nuxt/kit": "3.6.1"
58
59
  },
59
60
  "devDependencies": {
60
61
  "@types/fs-extra": "11.0.1",
@@ -65,7 +66,7 @@
65
66
  "@types/webpack-virtual-modules": "0.1.1",
66
67
  "unbuild": "latest",
67
68
  "vue": "3.3.4",
68
- "@nuxt/schema": "3.5.3"
69
+ "@nuxt/schema": "3.6.1"
69
70
  },
70
71
  "peerDependencies": {
71
72
  "vue": "^3.3.4"