Part of this commit is also: - complete plugins consolidation - complete presets consolidation - build system consolidation Refs #9188
30 lines
434 B
JavaScript
30 lines
434 B
JavaScript
/**
|
|
* @prettier
|
|
*/
|
|
|
|
const configBuilder = require("./_config-builder")
|
|
|
|
const result = configBuilder(
|
|
{
|
|
minimize: true,
|
|
mangle: true,
|
|
sourcemaps: true,
|
|
includeDependencies: false,
|
|
},
|
|
{
|
|
entry: {
|
|
"swagger-ui": ["./src/index.js"],
|
|
},
|
|
|
|
output: {
|
|
globalObject: "this",
|
|
library: {
|
|
name: "SwaggerUICore",
|
|
export: "default",
|
|
},
|
|
},
|
|
}
|
|
)
|
|
|
|
module.exports = result
|