@nuxt/webpack-builder 3.4.2 → 3.4.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -0
  2. package/package.json +9 -8
package/dist/index.mjs CHANGED
@@ -22,6 +22,7 @@ import { cloneDeep, defaults as defaults$1, merge, uniq } from 'lodash-es';
22
22
  import TimeFixPlugin from 'time-fix-plugin';
23
23
  import WebpackBar from 'webpackbar';
24
24
  import FriendlyErrorsWebpackPlugin from '@nuxt/friendly-errors-webpack-plugin';
25
+ import { isTest } from 'std-env';
25
26
  import { EsbuildPlugin } from 'esbuild-loader';
26
27
  import MiniCssExtractPlugin from 'mini-css-extract-plugin';
27
28
  import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
@@ -482,6 +483,7 @@ function getEnv(ctx) {
482
483
  "process.env.NODE_ENV": JSON.stringify(ctx.config.mode),
483
484
  "process.mode": JSON.stringify(ctx.config.mode),
484
485
  "process.dev": options.dev,
486
+ "process.test": isTest,
485
487
  __NUXT_VERSION__: JSON.stringify(ctx.nuxt._version),
486
488
  "process.env.VUE_ENV": JSON.stringify(ctx.name),
487
489
  "process.browser": ctx.isClient,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/webpack-builder",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "repository": "nuxt/nuxt",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -31,29 +31,30 @@
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.0",
34
+ "memfs": "^3.5.1",
35
35
  "mini-css-extract-plugin": "^2.7.5",
36
36
  "mlly": "^1.2.0",
37
- "ohash": "^1.1.1",
37
+ "ohash": "^1.1.2",
38
38
  "pathe": "^1.1.0",
39
39
  "pify": "^6.1.0",
40
40
  "postcss": "^8.4.23",
41
41
  "postcss-import": "^15.1.0",
42
42
  "postcss-loader": "^7.2.4",
43
43
  "postcss-url": "^10.1.3",
44
+ "std-env": "^3.3.2",
44
45
  "time-fix-plugin": "^2.0.7",
45
46
  "ufo": "^1.1.1",
46
47
  "unplugin": "^1.3.1",
47
48
  "url-loader": "^4.1.1",
48
49
  "vue-bundle-renderer": "^1.0.3",
49
- "vue-loader": "^17.0.1",
50
- "webpack": "^5.80.0",
50
+ "vue-loader": "^17.1.0",
51
+ "webpack": "^5.81.0",
51
52
  "webpack-bundle-analyzer": "^4.8.0",
52
53
  "webpack-dev-middleware": "^6.0.2",
53
54
  "webpack-hot-middleware": "^2.25.3",
54
55
  "webpack-virtual-modules": "^0.5.0",
55
56
  "webpackbar": "^5.0.2",
56
- "@nuxt/kit": "3.4.2"
57
+ "@nuxt/kit": "3.4.3"
57
58
  },
58
59
  "devDependencies": {
59
60
  "@types/lodash-es": "^4.17.7",
@@ -63,13 +64,13 @@
63
64
  "@types/webpack-virtual-modules": "^0.1.1",
64
65
  "unbuild": "latest",
65
66
  "vue": "3.2.47",
66
- "@nuxt/schema": "3.4.2"
67
+ "@nuxt/schema": "3.4.3"
67
68
  },
68
69
  "peerDependencies": {
69
70
  "vue": "^3.2.47"
70
71
  },
71
72
  "engines": {
72
- "node": "^14.18.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
73
+ "node": "^14.18.0 || >=16.10.0"
73
74
  },
74
75
  "scripts": {}
75
76
  }