You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 line
442 B

  1. /**
  2. * @prettier
  3. */
  4. import configBuilder from "./_config-builder"
  5. const result = configBuilder(
  6. {
  7. minimize: true,
  8. mangle: true,
  9. sourcemaps: true,
  10. includeDependencies: false,
  11. },
  12. {
  13. entry: {
  14. "swagger-ui": [
  15. // "./src/polyfills.js", // TODO: remove?
  16. "./src/index.js",
  17. ],
  18. },
  19. output: {
  20. globalObject: "this",
  21. library: "SwaggerUICore",
  22. },
  23. }
  24. )
  25. export default result