-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Empty bundle generated - transformer-typescript #5049
Comments
Building with |
I've just opened a PR: #5053. It's not really related to scope hoisting. You can also try this already by adding these changes to your |
I've had this issue but outside of Electron. It just randomly doesn't like one file...! |
Have you tried the last nightly? There was also an issue with the cache. |
Hello! I have opened a specific issue ticket for it: #5770 Unfortunately I can't really test the nightly because it forces postcss@^8 and I have a load of other dependencies that are all stuck at postcss@^7 Edit: re cache, I've been blitzing the .cache and dist folders continuously |
🐛 bug report
I am trying to bundle a simple Atom package using parcel and typescript-transformer. However, the resulting bundle is just an empty JavaScript file.
This is the console output using parcel@next
Using the parcel@nightly a different error is thrown. (atom-package-deps is just a simple cjs package that is imported using dynamic import.)
🎛 Configuration (.babelrc, package.json, cli command)
The full example is already uploaded here for you to try: https://github.com/atom-ide-community/atom-ide-template/tree/parcel
but if you prefer making your own project
.parcelrc
package.json -> targets:
build script:
tsconfig
🤔 Expected Behavior
Bundle the package.
😯 Current Behavior
See the above bug-report description.
💁 Possible Solution
🔦 Context
💻 Code Sample
https://github.com/atom-ide-community/atom-ide-template/tree/parcel
🌍 Your Environment
The text was updated successfully, but these errors were encountered: