Fix dev server

This commit is contained in:
Kyle Shockey
2017-03-30 00:16:17 -07:00
parent ec46a22df5
commit 229bd1df9a
5 changed files with 109 additions and 14 deletions

View File

@@ -9,11 +9,11 @@ module.exports = require("./make-webpack-config")({
},
devtool: "eval",
entry: {
'SwaggerUIBundle': [
'swagger-ui-bundle': [
'babel-polyfill',
'./src/core/index.js'
],
'SwaggerUIStandalonePreset': [
'swagger-ui-standalone-preset': [
'./src/standalone/index.js'
]
},
@@ -27,8 +27,8 @@ module.exports = require("./make-webpack-config")({
},
devServer: {
port: 3200,
path: path.join(__dirname, 'dist'),
publicPath: "/dist",
path: path.join(__dirname, 'dev-helpers'),
publicPath: "/",
noInfo: true,
colors: true,
hot: true,