更新 webpack.dev.config.js
This commit is contained in:
parent
ec38079a71
commit
e5cd54c086
@ -5,9 +5,6 @@ const configBase = require('./webpack.base.config.js');
|
|||||||
module.exports = merge(configBase, {
|
module.exports = merge(configBase, {
|
||||||
mode: 'development',
|
mode: 'development',
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ProvidePlugin({
|
|
||||||
videojs: 'video.js',
|
|
||||||
}),
|
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
__IN_DEV__: JSON.stringify(true),
|
__IN_DEV__: JSON.stringify(true),
|
||||||
__ENV__: JSON.stringify('dev')
|
__ENV__: JSON.stringify('dev')
|
||||||
|
Loading…
Reference in New Issue
Block a user