Skip to content

Commit c1086f6

Browse files
committed
fix example config, previously not including ts files in regex
1 parent 0ccfd0e commit c1086f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack/config.examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = [
2222
module: {
2323
rules: [
2424
{
25-
test: /\.js$/,
25+
test: /\.[jt]sx?$/,
2626
exclude: /node_modules/,
2727
loader: 'babel-loader',
2828
options: {

0 commit comments

Comments
 (0)