in with the new

This commit is contained in:
Ron
2017-03-17 21:17:53 -07:00
parent bd8344c808
commit f22a628934
157 changed files with 12952 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
var path = require('path')
module.exports = require("./make-webpack-config")({
_special: {
loaders: {
'jsx': [ "react-hot-loader", "babel" ]
},
separateStylesheets: false,
},
devtool: "eval",
entry: {
'SwaggerUIBundle': [
'./src/core/index.js'
],
'SwaggerUIStandalonePreset': [
'./src/standalone/index.js'
]
},
output: {
pathinfo: true,
debug: true,
filename: '[name].js',
library: "[name]",
libraryTarget: "umd",
chunkFilename: "[id].js"
},
devServer: {
port: 3200,
path: path.join(__dirname, 'dist'),
publicPath: "/dist",
noInfo: true,
colors: true,
hot: true,
stats: {
colors: true
},
},
})