diff options
Diffstat (limited to 'uidev/webpack.config.js')
-rw-r--r-- | uidev/webpack.config.js | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/uidev/webpack.config.js b/uidev/webpack.config.js deleted file mode 100644 index faabac784..000000000 --- a/uidev/webpack.config.js +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | const path = require('path'); | ||
2 | const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
3 | |||
4 | module.exports = { | ||
5 | entry: './src/index.tsx', | ||
6 | module: { | ||
7 | rules: [ | ||
8 | { | ||
9 | test: /\.tsx?$/, | ||
10 | use: 'ts-loader', | ||
11 | exclude: /node_modules/, | ||
12 | }, | ||
13 | ], | ||
14 | }, | ||
15 | resolve: { | ||
16 | extensions: ['.tsx', '.ts', '.js'], | ||
17 | alias: { | ||
18 | react: path.resolve('../node_modules/react'), | ||
19 | }, | ||
20 | }, | ||
21 | mode: 'none', | ||
22 | plugins: [ | ||
23 | new HtmlWebpackPlugin({ | ||
24 | template: path.join('src', 'app.html'), | ||
25 | }), | ||
26 | ], | ||
27 | devServer: { | ||
28 | inline: true, | ||
29 | port: 8008, | ||
30 | }, | ||
31 | }; | ||