diff options
author | Stefan Malzner <stefan@adlk.io> | 2019-01-14 22:26:06 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2019-01-14 22:26:06 +0100 |
commit | 8b4231e3109d4b29e4d90f4553f718a1d7867bc5 (patch) | |
tree | b7c89bd60d01cca3692a3e6df580669fd08a4b27 /uidev/webpack.config.js | |
parent | Update package.json (diff) | |
download | ferdium-app-8b4231e3109d4b29e4d90f4553f718a1d7867bc5.tar.gz ferdium-app-8b4231e3109d4b29e4d90f4553f718a1d7867bc5.tar.zst ferdium-app-8b4231e3109d4b29e4d90f4553f718a1d7867bc5.zip |
Add buttons
Diffstat (limited to 'uidev/webpack.config.js')
-rw-r--r-- | uidev/webpack.config.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uidev/webpack.config.js b/uidev/webpack.config.js index 8c4a4ade9..74ea870ef 100644 --- a/uidev/webpack.config.js +++ b/uidev/webpack.config.js | |||
@@ -12,6 +12,9 @@ module.exports = { | |||
12 | }, | 12 | }, |
13 | resolve: { | 13 | resolve: { |
14 | extensions: ['.tsx', '.ts', '.js'], | 14 | extensions: ['.tsx', '.ts', '.js'], |
15 | alias: { | ||
16 | react: path.resolve('../node_modules/react'), | ||
17 | }, | ||
15 | }, | 18 | }, |
16 | mode: 'none', | 19 | mode: 'none', |
17 | plugins: [ | 20 | plugins: [ |
@@ -19,4 +22,8 @@ module.exports = { | |||
19 | template: path.join('src', 'app.html'), | 22 | template: path.join('src', 'app.html'), |
20 | }), | 23 | }), |
21 | ], | 24 | ], |
25 | devServer: { | ||
26 | inline: true, | ||
27 | port: 8008, | ||
28 | }, | ||
22 | }; | 29 | }; |