瀏覽代碼

HMR for dev server

bubble
Kyle Shockey 7 年之前
父節點
當前提交
f4d1d28dd8
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      webpack-hot-dev-server.config.js

+ 4
- 2
webpack-hot-dev-server.config.js 查看文件

@@ -10,11 +10,13 @@ module.exports = require("./make-webpack-config")({
devtool: "eval",
entry: {
'swagger-ui-bundle': [
'webpack/hot/dev-server',
'babel-polyfill',
'./src/core/index.js'
'./src/core/index.js',
],
'swagger-ui-standalone-preset': [
'./src/standalone/index.js'
'webpack/hot/dev-server',
'./src/standalone/index.js',
]
},
output: {


Loading…
取消
儲存