From a4262e4f3369c1da4fe434a9e57025ed1cc59029 Mon Sep 17 00:00:00 2001 From: birdguo Date: Fri, 5 Jan 2024 17:51:57 +0800 Subject: [PATCH] fix(vue-next): remove vue prod devtools global sign for ios&android --- .../hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js | 1 + .../hippy-vue-next-demo/scripts/hippy-webpack.android.js | 1 + .../hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js | 1 + .../js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js | 1 + 4 files changed, 4 insertions(+) diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js index 54a2c99b29a..a8689aece99 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android-vendor.js @@ -23,6 +23,7 @@ module.exports = { new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), + __VUE_PROD_DEVTOOLS__: false, }), new CaseSensitivePathsPlugin(), new VueLoaderPlugin(), diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js index d9810b35073..e137c500c08 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.android.js @@ -35,6 +35,7 @@ module.exports = { new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), + __VUE_PROD_DEVTOOLS__: false, }), new CaseSensitivePathsPlugin(), new VueLoaderPlugin(), diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js index 7a383bda137..a23657ec9fb 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios-vendor.js @@ -23,6 +23,7 @@ module.exports = { new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), + __VUE_PROD_DEVTOOLS__: false, }), new CaseSensitivePathsPlugin(), new VueLoaderPlugin(), diff --git a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js index 1791f9cf403..2adeed998d3 100644 --- a/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js +++ b/driver/js/examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js @@ -35,6 +35,7 @@ module.exports = { new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production'), __PLATFORM__: JSON.stringify(platform), + __VUE_PROD_DEVTOOLS__: false, }), new CaseSensitivePathsPlugin(), new VueLoaderPlugin(),