-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
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 https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/988a5c70ac2ad68c576af8be722cfc848f32eabb/example/webpack.config.js#L15 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.
Metadata
Metadata
Assignees
Labels
No labels