-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: Add testing suite to example app, fix bundler edge-cases with default exports, module links and relative wildcard exports #30
Conversation
This approach should allow the production build step and ev HMR server to share the same worker code.
For example: module.export({ default: () => '...' }) This would previously be turned into: export const default = '...' ^^^ Now it should be formatted correctly: export default '...'
# Conflicts: # packages/vite-build-plugins/worker/vite-plugins/meteor-stubs.mjs
I'll go ahead and add a GitHub Actions workflow for validating that builds are at the very least passing. The pull request should be ready to be merged now. I've pulled the bundler into a fairly large project with a bunch of Atmosphere dependencies - and production builds appear to be working great. But I'm sure there's a list of other edge cases, not covered by my repo left to be worked out. 😅 |
I guess this supersedes #28? |
That is correct. 👍 |
@JorgenVatle , thank you very much for your effort! We are trying to use your fork in our app. There is still at least one issue related to exports: this one. If you replace |
I see! Thanks for the heads up. I'll try to find the time hopefully this or next week to look into it. |
Alright, @red-meadow, so I've had quite a lot of time to work on this. Maybe a little too much to be honest. 😅 There's a little bit left to do in terms of refactoring and double-checking that there isn't something I've missed. It is functional however in case you want to try it out. 👍 |
@JorgenVatle , thank you very much! I'll test it ASAP. |
It still hasn't touched a production environment yet, so there's bound to be some breaking issues. But the foundation is there and I don't imagine fixes being more than a line or two 👌 Do let me know how it goes 😄 |
Fixes
export * from
is not working in packages #27Additions
zodern:types
Vue Example App