Skip to content
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

Open
@qlonik

Description

@qlonik

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions