summaryrefslogtreecommitdiff
path: root/webpack/core.babel.js
blob: 05ed8ebb4fb647f44c74290319b941c3dc00372d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * @prettier
 */

import configBuilder from "./_config-builder"

const result = configBuilder(
  {
    minimize: true,
    mangle: true,
    sourcemaps: true,
    includeDependencies: false,
  },
  {
    entry: {
      "swagger-ui": [
        "./src/index.js",
      ],
    },

    output: {
      globalObject: "this",
      library: "SwaggerUICore",
    },
  }
)

export default result