Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

webpack.js 312 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  1. const webpack = require('webpack')
  2. const middleware = require('webpack-dev-middleware')
  3. const config = require('../webpack.config')
  4. const webpackCompiler = webpack({
  5. ...config,
  6. plugins: [
  7. ...config.plugins
  8. ]
  9. })
  10. module.exports = middleware(webpackCompiler, {
  11. publicPath: config.output.publicPath
  12. })
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...