Skip to content

Commit e0ca3da

Browse files
committed
add options explicitly to config
1 parent f806ae0 commit e0ca3da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/webpack.base.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ module.exports = (env = {}, argv = {}) => {
101101
new webpack.DefinePlugin({
102102
EXTENSION_VERSION: JSON.stringify(packageJson.version),
103103
}),
104+
new webpack.DefinePlugin({
105+
__VUE_OPTIONS_API__: 'true',
106+
__VUE_PROD_DEVTOOLS__: 'false',
107+
}),
104108
new CircularDependencyPlugin({
105109
exclude: /node_modules|testFixtures/,
106110
failOnError: true,

0 commit comments

Comments
 (0)