Replies: 1 comment
-
Can you create a full reproducible test repo what you try and describable why you need to use |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My goal is to eventually use child processes in nextjs.
But i realised that i can't get basic url parsing for ts files to work.
How can i create a second bundle based on new URL call with a path to a ts file?
It is my understanding that the test.ts is loaded as asset but also beeing parsed.
repo for the code
Here are specific questions about things i don't understand:
type: "javascript/auto
prevent this? According to docs this prevents the default rules for matching files.My problem is that this loader is apparently not used for test.ts without this line. I think that because the file is emmitted as a ts file (if ts loader would came to use it should be a js file right?).
To me this says. "use the ts-loader for all ts files that are come from new URL calls"
Instead i get the following error:
I then tried to create two bundles with two entries. This seems to work. But...
6. Is there a way to reference the input file and not the output file?
Beta Was this translation helpful? Give feedback.
All reactions