Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in example/webpack.config.js ? #77

Open
parus95 opened this issue May 18, 2021 · 0 comments
Open

Typo in example/webpack.config.js ? #77

parus95 opened this issue May 18, 2021 · 0 comments

Comments

@parus95
Copy link

parus95 commented May 18, 2021

I created webpack.config.js for my app based on https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/example/webpack.config.js

I was getting build errors for TS files containing types information.

File

has line test: /\\.tsx?$/, but ts-loader documentation ( https://www.npmjs.com/package/ts-loader#configuration ) contains test: /\.tsx?$/ pattern (without double slash).

I changed double slash to single in my config. Build was succesful.

I suppose there is an error in the file, but it does not manifests up because the TS files in this example do not use types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant