Allow webpack configs to be authored in typescript (fixes #1241) #399

Closed
opened 2025-08-09 17:16:08 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @AdamWillden on 9/27/2017

@SteveSandersonMS good to make your acquaintance again (a nod from my KnockoutJS days, although you won't remember me)

This fix is entirely untested and simply following your instructions so we can get the ball rolling. Is this really all that's needed for the typescript to get parsed on demand??

+    if (options.useTypescriptConfig) {
+      require('ts-node/register');
+    }
+

I'll try and see if I can build the solution, replace the DLL and node_modules in my project and confirm the fix.

*Originally created by @AdamWillden on 9/27/2017* @SteveSandersonMS good to make your acquaintance again (a nod from my KnockoutJS days, although you won't remember me) This fix is entirely untested and simply [following your instructions](https://github.com/aspnet/JavaScriptServices/issues/1241#issuecomment-327486989) so we can get the ball rolling. Is this really all that's needed for the typescript to get parsed on demand?? ```diff + if (options.useTypescriptConfig) { + require('ts-node/register'); + } + ``` I'll try and see if I can build the solution, replace the DLL and node_modules in my project and confirm the fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#399
No description provided.