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.
 
 
 
 

31 regels
449 B

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