Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(itkConfig.ts): Import from './browser/index.js' #655

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Sep 29, 2022

Otherwise, this ends up loading './index.js', which brings in Node.js, which causes issues for Vite / Rollup when bundling for the browser.

Closes #654

Otherwise, this ends up loading './index.js', which brings in Node.js,
which causes issues for Vite / Rollup when bundling for the browser.

Closes InsightSoftwareConsortium#654
@thewtex thewtex requested review from floryst and jadh4v September 29, 2022 19:43
@floryst
Copy link
Member

floryst commented Sep 29, 2022

LGTM!

@thewtex thewtex merged commit c9344bb into InsightSoftwareConsortium:master Sep 30, 2022
@thewtex thewtex deleted the version-import branch September 30, 2022 19:06
@github-actions
Copy link

🎉 This PR is included in version 1.0.0-b.37 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR 'dirname' is not exported by __vite-browser-external
2 participants