Skip to content

Commit b68e8f3

Browse files
committed
Add tsloader to webpack config
1 parent d6e7a15 commit b68e8f3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/common/config/webpack.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ const devConfig = {
3535
{
3636
test: /\.(png|jpg|gif|svg|woff|ttf|eot)/,
3737
type: 'asset/resource'
38-
}
38+
},
39+
{
40+
test: /\.(ts|tsx)$/,
41+
exclude: /node_modules/,
42+
use: {
43+
loader: 'ts-loader',
44+
},
45+
},
3946
]
4047
}
4148
};

0 commit comments

Comments
 (0)