Ekapp/swagger/webpack/standalone.babel.js

31 lines
497 B
JavaScript
Raw Normal View History

2020-06-10 06:25:21 +00:00
/**
* @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