1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Files
docs/middleware/webpack.js
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00

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
})