更新 webpack.dev.config.js

This commit is contained in:
钟进 2020-06-16 14:37:04 +00:00
parent ec38079a71
commit e5cd54c086

View File

@ -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')