31 lines
497 B
JavaScript
31 lines
497 B
JavaScript
|
/**
|
||
|
* @prettier
|
||
|
*/
|
||
|
|
||
|
import configBuilder from "./_config-builder"
|
||
|
|
||
|
const result = configBuilder(
|
||
|
{
|
||
|
minimize: true,
|
||
|
mangle: true,
|
||
|
sourcemaps: true,
|
||
|
includeDependencies: true,
|
||
|
includeStyles: false,
|
||
|
emitWorkerAssets: false,
|
||
|
},
|
||
|
{
|
||
|
entry: {
|
||
|
"swagger-editor-standalone-preset": [
|
||
|
"./src/polyfills.js",
|
||
|
"./src/standalone/index.js",
|
||
|
],
|
||
|
},
|
||
|
|
||
|
output: {
|
||
|
library: "SwaggerEditorStandalonePreset",
|
||
|
},
|
||
|
}
|
||
|
)
|
||
|
|
||
|
export default result
|