Skip to content

Commit

Permalink
preliminary ts support in webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Crazypersonalph committed Dec 4, 2023
1 parent 47c6430 commit f48fc72
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,16 @@ export default {
filename: 'src/[path][name][ext]',
},
},
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
}
],
},
resolve: {
extensions: ['.tsx', '.ts', '.js'],
},
plugins: [
new ESLintPlugin(),
new MiniCssExtractPlugin({
Expand Down

0 comments on commit f48fc72

Please sign in to comment.