Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
13 lines
295 B
JavaScript
13 lines
295 B
JavaScript
const webpack = require('webpack')
|
|
const middleware = require('webpack-dev-middleware')
|
|
const config = require('../webpack.config')
|
|
|
|
const webpackCompiler = webpack({
|
|
...config,
|
|
mode: 'development'
|
|
})
|
|
|
|
module.exports = middleware(webpackCompiler, {
|
|
publicPath: config.output.publicPath
|
|
})
|