Skip to content

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

@parus95

Description

@parus95

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions