swc-project / swc-node

Faster ts-node without typecheck
MIT License
1.72k stars 71 forks source link

Supporting webpack <= 4 for @swc-node/swc-loader #662

Open gyz0072004 opened 2 years ago

gyz0072004 commented 2 years ago

the swc-loader is using this.getOptions() function, which is introduced in webpack 5. Need to use loader-utils to getOptions when webpack is <= 4

Atmos4 commented 2 weeks ago

Wait why are you not using swc-loader like in the docs?

AFAIK you don't need @swc-node/swc-loader