mirror of
https://github.com/floccusaddon/floccus
synced 2025-04-29 15:37:33 +08:00
17 lines
370 B
JavaScript
17 lines
370 B
JavaScript
const merge = require('webpack-merge')
|
|
const common = require('./webpack.common.js')
|
|
const webpack = require('webpack')
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'development',
|
|
devtool: 'cheap-module-source-map',
|
|
optimization: {
|
|
splitChunks: { chunks: 'async' },
|
|
},
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'DEBUG': JSON.stringify(true)
|
|
})
|
|
]
|
|
})
|