You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works but the swagger-ui-es-bundle-core.js is commonjs bundle which pulls whole highlight.js and refractor libraries in. This issues about about creating remediation for swagger-ui-es-bundle-core.js build fragment and not to pull whole highlight.js and refractor libraries with it.
The text was updated successfully, but these errors were encountered:
I've already documented current build fragments and how I foresee their future in this issue: #7831
I have problem using
swagger-ui-es-bundle.js
as it bundles the React with it. This build fragment is mapped in package.json in following way:This means that when I use
swagger-ui
inside swagger-editor I end up bundling React twice which has side effects like these:To fix that, me and I guess a lot of people as well need to use following webpack config:
This works but the
swagger-ui-es-bundle-core.js
iscommonjs
bundle which pulls wholehighlight.js
andrefractor
libraries in. This issues about about creating remediation forswagger-ui-es-bundle-core.js
build fragment and not to pull wholehighlight.js
andrefractor
libraries with it.The text was updated successfully, but these errors were encountered: