in with the new
This commit is contained in:
29
webpack-dist-bundle.config.js
Normal file
29
webpack-dist-bundle.config.js
Normal file
@@ -0,0 +1,29 @@
|
||||
var path = require('path')
|
||||
|
||||
|
||||
module.exports = require('./make-webpack-config.js')({
|
||||
_special: {
|
||||
separateStylesheets: false,
|
||||
minimize: true,
|
||||
sourcemaps: true,
|
||||
loaders: {
|
||||
"worker.js": ["worker-loader?inline=true&name=[name].js", "babel"]
|
||||
}
|
||||
},
|
||||
|
||||
entry: {
|
||||
'swagger-ui-bundle': [
|
||||
'./src/core/index.js'
|
||||
]
|
||||
},
|
||||
|
||||
output: {
|
||||
path: path.join(__dirname, "dist"),
|
||||
publicPath: "/dist",
|
||||
library: "SwaggerUIBundle",
|
||||
libraryTarget: "umd",
|
||||
filename: "[name].js",
|
||||
chunkFilename: "js/[name].js",
|
||||
},
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user