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 lines
584 B

  1. var path = require('path')
  2. module.exports = require('./make-webpack-config.js')({
  3. _special: {
  4. separateStylesheets: false,
  5. minimize: true,
  6. sourcemaps: true,
  7. loaders: {
  8. "worker.js": ["worker-loader?inline=true&name=[name].js", "babel"]
  9. }
  10. },
  11. entry: {
  12. 'swagger-ui-standalone-preset': [
  13. './src/standalone/index.js'
  14. ]
  15. },
  16. output: {
  17. path: path.join(__dirname, "dist"),
  18. publicPath: "/dist",
  19. library: "SwaggerUIStandalonePreset",
  20. libraryTarget: "umd",
  21. filename: "[name].js",
  22. chunkFilename: "js/[name].js",
  23. },
  24. })