We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a7d9dc commit fe567afCopy full SHA for fe567af
src/index.cjs
@@ -214,12 +214,11 @@ class ScratchWebpackConfigBuilder {
214
] : []
215
),
216
...(enableTs ? [{
217
- test: enableReact ? /\.[cm]?[jt]sx?$/ : /\.[cm]?[jt]s$/,
+ test: enableReact ? /\.[cm]?tsx?$/ : /\.[cm]?ts$/,
218
loader: 'ts-loader',
219
exclude: [/node_modules/]
220
}] : []),
221
],
222
-
223
},
224
plugins: [
225
new webpack.ProvidePlugin({
0 commit comments