Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49272

Typescript in node_modules

$
0
0

@enjdusan wrote:

Hello guys,

I’m prototyping small app that should use our internal library that’s written in Typescript React.
But I’m still getting the error saying “You may need an appropriate loader to handle this file type”
How should I set extra webpack config to get those TS/TSX file loaded and transpiled too. It seems that all my webpack.config or extra-webpack.config file are ignored.

(please ignore that it’s a bad practice to have ts dependencies in node_modules)

Many thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49272

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>