This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Support TS version of webpack config file - webpack.config.ts #736
Copy link
Copy link
Open
Description
Is your feature request related to a problem? Please describe.
Allowing the Webpack configuration file to be type checked.
Describe the solution you'd like
It seems that webpack allows different configuration languages than just JS. Is it possible to let nativescript-dev-webpack
plugin to support typescript? I found in the compiler.js
file on the line 57, the config is hardcoded to be webpack.config.js
. Maybe it is possible to let webpack to choose the config file, instead of hardcoding it?
Describe alternatives you've considered
Additional context
I simply tried to remove line 57 from compiler.js
file installed in my node_modules
and it worked without any problems.