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.
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
webpackwill work withwebpack.config.tsprovidedts-nodeis installed.These details are documented (here)[https://webpack.js.org/configuration/configuration-languages/].
It would be great if
@eletron-forge/webpacksupported this.Currently, if I have a
.tswebpack config, it doesn't get run thoughts-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-configsto compile my configs before they're used.