mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add vue build feature flags
See https://github.com/vuejs/core/tree/main/packages/vue#bundler-build-feature-flags
This commit is contained in:
parent
ef51a17487
commit
841499d9ee
@ -121,6 +121,8 @@ export const getDefaultConfig = (src = relativePath('src')): Configuration => {
|
||||
webpackCompilationInfo: [relativePath('webpack/compilation-info'), 'compilationInfo'],
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
__VUE_OPTIONS_API__: true,
|
||||
__VUE_PROD_DEVTOOLS__: false,
|
||||
webpackGitInfo: JSON.stringify(gitInfo),
|
||||
}),
|
||||
// new WebpackBar(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user