17 lines
396 B
JavaScript
17 lines
396 B
JavaScript
const webpack = require('webpack');
|
|
const merge = require('webpack-merge');
|
|
const configBase = require('./webpack.base.config.js');
|
|
|
|
module.exports = merge(configBase, {
|
|
mode: 'development',
|
|
plugins: [
|
|
new webpack.ProvidePlugin({
|
|
videojs: 'video.js',
|
|
}),
|
|
new webpack.DefinePlugin({
|
|
__IN_DEV__: JSON.stringify(true),
|
|
__ENV__: JSON.stringify('dev')
|
|
})
|
|
]
|
|
});
|