-
-
Notifications
You must be signed in to change notification settings - Fork 611
Description
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Please describe your issue:
Webpack supports using config files written in other languages (such as typescript & coffeescript) without the need to compile those files into JS, provided the right tools are installed.
For example, doing webpack will work with webpack.config.ts provided ts-node is installed.
These details are documented (here)[https://webpack.js.org/configuration/configuration-languages/].
It would be great if @eletron-forge/webpack supported this.
Currently, if I have a .ts webpack config, it doesn't get run though ts-node.
An acceptable compromise for me at this point would be to have some of pre-use hook that I could trigger compiling from; for example, being able to pass an npm command like npm run build-configs to compile my configs before they're used.