odin-codespace/dom-exercise/webpack-demo/webpack.dev.js

10 lines
228 B
JavaScript

const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
static: './dist',
},
});