40 lines
656 B
JavaScript
40 lines
656 B
JavaScript
/**
|
|
* @prettier
|
|
*/
|
|
|
|
import configBuilder from "./_config-builder"
|
|
|
|
const result = configBuilder(
|
|
{
|
|
minimize: false,
|
|
mangle: false,
|
|
sourcemaps: false,
|
|
includeDependencies: true,
|
|
includeStyles: true,
|
|
emitWorkerAssets: false,
|
|
},
|
|
{
|
|
entry: {
|
|
"swagger-editor-bundle": [
|
|
"./src/styles/main.less",
|
|
"./src/polyfills.js",
|
|
"./src/index.js",
|
|
],
|
|
},
|
|
|
|
output: {
|
|
library: "SwaggerEditorBundle",
|
|
path: path.join(
|
|
__dirname,
|
|
require("../package.json").config.deps_check_dir
|
|
),
|
|
},
|
|
|
|
performance: {
|
|
hints: false,
|
|
},
|
|
}
|
|
)
|
|
|
|
export default result
|