Skip to content

Commit

Permalink
fix(vue-next): remove vue prod devtools global sign for ios&android
Browse files Browse the repository at this point in the history
  • Loading branch information
gguoyu authored and zealotchen0 committed Jan 5, 2024
1 parent f67461d commit 152c907
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
1 change: 1 addition & 0 deletions examples/hippy-vue-next-demo/scripts/hippy-webpack.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 152c907

Please sign in to comment.