@dcloudio/vue-cli-plugin-uni 2.0.1-33920220121001 → 2.0.1-33920220121002

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/lib/mp/index.js +3 -3
  2. package/package.json +3 -3
package/lib/mp/index.js CHANGED
@@ -202,13 +202,13 @@ module.exports = {
202
202
  // 使用外层依赖的版本
203
203
  alias['regenerator-runtime'] = require.resolve('regenerator-runtime')
204
204
  const output = {
205
- pathinfo: process.env.UNI_MINIMIZE !== 'true',
205
+ pathinfo: true,
206
206
  filename: '[name].js',
207
207
  chunkFilename: '[id].js',
208
208
  globalObject: process.env.UNI_PLATFORM === 'mp-alipay' ? 'my' : 'global'
209
209
  // sourceMapFilename: '../.sourcemap/' + process.env.UNI_PLATFORM + '/[name].js.map'
210
210
  }
211
- if (process.env.UNI_MINIMIZE === 'true' && process.env.NODE_ENV === 'development') {
211
+ if (process.env.NODE_ENV === 'production' || process.env.UNI_MINIMIZE === 'true') {
212
212
  output.pathinfo = false
213
213
  }
214
214
  return {
@@ -320,4 +320,4 @@ module.exports = {
320
320
  webpackConfig.plugins.delete('preload')
321
321
  webpackConfig.plugins.delete('prefetch')
322
322
  }
323
- }
323
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/vue-cli-plugin-uni",
3
- "version": "2.0.1-33920220121001",
3
+ "version": "2.0.1-33920220121002",
4
4
  "description": "uni-app plugin for vue-cli 3",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  "author": "fxy060608",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcloudio/uni-stat": "^2.0.1-33920220121001",
20
+ "@dcloudio/uni-stat": "^2.0.1-33920220121002",
21
21
  "buffer-json": "^2.0.0",
22
22
  "clone-deep": "^4.0.1",
23
23
  "copy-webpack-plugin": "^5.1.1",
@@ -39,5 +39,5 @@
39
39
  "wrap-loader": "^0.2.0",
40
40
  "xregexp": "4.0.0"
41
41
  },
42
- "gitHead": "dc143acb83df709adba2685e24d17fc385212b4a"
42
+ "gitHead": "2bd26ff3115ec3c3c8b4a9ade025eb4d82d9e06f"
43
43
  }