Skip to content

Commit 2cb394a

Browse files
committed
fix typo on webpack config example
1 parent 116de80 commit 2cb394a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack/config.examples.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = [
5252
module: {
5353
rules: [
5454
{
55-
test: /\.js$/,
55+
test: /\.[jt]s$/,
5656
exclude: /node_modules/,
5757
loader: 'babel-loader',
5858
options: {
@@ -82,7 +82,7 @@ module.exports = [
8282
module: {
8383
rules: [
8484
{
85-
test: /\.[jt]sx$/,
85+
test: /\.[jt]s$/,
8686
exclude: /node_modules/,
8787
loader: 'babel-loader',
8888
options: {

0 commit comments

Comments
 (0)