Entry point was missing. This change allows importing SwaggerUIBundle and SwaggerUIStandalonePreset directly from package. Correct entry point is also needed for module bundlers like webpack to perform tree-shaking.
3 lines
155 B
JavaScript
3 lines
155 B
JavaScript
module.exports.SwaggerUIBundle = require('./swagger-ui-bundle.js')
|
|
module.exports.SwaggerUIStandalonePreset = require('./swagger-ui-standalone-preset.js')
|