Skip to content

Commit

Permalink
Remove optional "x" from module rules. This was related to React inte…
Browse files Browse the repository at this point in the history
…gration with Webpack, which doesn't apply.
  • Loading branch information
itsjamie committed Jan 10, 2019
1 parent 4fb5fb8 commit 9be6ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -51,7 +51,7 @@ const baseConfig = {
rules: [
// all files with a `.ts` extension will be handled by `ts-loader`
{
test: /\.(ts|js)x?$/,
test: /\.(ts|js)$/,
loader: 'ts-loader',
exclude: /node_modules/
}
Expand Down

0 comments on commit 9be6ebf

Please sign in to comment.