/**
 * @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
