diff options
Diffstat (limited to 'uidev/webpack.config.js')
-rw-r--r-- | uidev/webpack.config.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/uidev/webpack.config.js b/uidev/webpack.config.js index 74ea870ef..faabac784 100644 --- a/uidev/webpack.config.js +++ b/uidev/webpack.config.js | |||
@@ -4,11 +4,13 @@ const HtmlWebpackPlugin = require('html-webpack-plugin'); | |||
4 | module.exports = { | 4 | module.exports = { |
5 | entry: './src/index.tsx', | 5 | entry: './src/index.tsx', |
6 | module: { | 6 | module: { |
7 | rules: [{ | 7 | rules: [ |
8 | test: /\.tsx?$/, | 8 | { |
9 | use: 'ts-loader', | 9 | test: /\.tsx?$/, |
10 | exclude: /node_modules/, | 10 | use: 'ts-loader', |
11 | }], | 11 | exclude: /node_modules/, |
12 | }, | ||
13 | ], | ||
12 | }, | 14 | }, |
13 | resolve: { | 15 | resolve: { |
14 | extensions: ['.tsx', '.ts', '.js'], | 16 | extensions: ['.tsx', '.ts', '.js'], |