@dcloudio/vue-cli-plugin-uni 2.0.2-alpha-4070420250630001 → 2.0.2-alpha-4070520250704002
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/lib/configure-webpack.js +5 -0
- package/package.json +3 -3
package/lib/configure-webpack.js
CHANGED
|
@@ -337,6 +337,11 @@ module.exports = function configureWebpack (platformOptions, manifestPlatformOpt
|
|
|
337
337
|
}
|
|
338
338
|
} catch (e) {}
|
|
339
339
|
|
|
340
|
+
if (!runByHBuilderX && process.env.UNI_PLATFORM === 'mp-weixin') {
|
|
341
|
+
const { PreprocessorWebpackPlugin } = require('@dcloudio/uni-cli-shared/lib/preprocessor')
|
|
342
|
+
plugins.push(new PreprocessorWebpackPlugin())
|
|
343
|
+
}
|
|
344
|
+
|
|
340
345
|
const resolveLoaderAlias = {}
|
|
341
346
|
const modules = ['@vue/cli-plugin-babel', '@vue/cli-service']
|
|
342
347
|
modules.forEach(m => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/vue-cli-plugin-uni",
|
|
3
|
-
"version": "2.0.2-alpha-
|
|
3
|
+
"version": "2.0.2-alpha-4070520250704002",
|
|
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.2-alpha-
|
|
20
|
+
"@dcloudio/uni-stat": "^2.0.2-alpha-4070520250704002",
|
|
21
21
|
"buffer-json": "^2.0.0",
|
|
22
22
|
"clone-deep": "^4.0.1",
|
|
23
23
|
"cross-env": "^5.2.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"copy-webpack-plugin": ">=5",
|
|
42
42
|
"postcss": ">=7"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "41a563d925b63775d13a869cfbd24f9d0e269a27"
|
|
45
45
|
}
|