Replies: 1 comment
-
Since SWC is not a bundler, it is expected. Use your preferred bundler for the work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think I have a basic build that I can't figure out: I want to re-export relative files from an index.tsx file, like so:
index.tsx
If I build that, with
swc ./src/index.tsx -o dist/index.js
, using this config:I get:
The problem being that the Provider is no where to be seen in this script! Do I have to build every file, or can swc not bundle into a single script?
I must be missing something basic, but I have I read though the documentation on the swc config, and looked through issues without finding anything.
Beta Was this translation helpful? Give feedback.
All reactions