aboutsummaryrefslogtreecommitdiffstats
path: root/uidev/webpack.config.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-01-09 11:05:32 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-01-09 11:05:32 +0100
commit2c514e58eabd71af280b727514dccb7c8db4e6cf (patch)
treeb9677f450fe300c6ff16d1ea1e2af7ea35a7bc02 /uidev/webpack.config.js
parentMake packages work in electron, node and web (diff)
downloadferdium-app-2c514e58eabd71af280b727514dccb7c8db4e6cf.tar.gz
ferdium-app-2c514e58eabd71af280b727514dccb7c8db4e6cf.tar.zst
ferdium-app-2c514e58eabd71af280b727514dccb7c8db4e6cf.zip
Finalize packages & replace storybook with homegrown `uidev`
Diffstat (limited to 'uidev/webpack.config.js')
-rw-r--r--uidev/webpack.config.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/uidev/webpack.config.js b/uidev/webpack.config.js
new file mode 100644
index 000000000..8c4a4ade9
--- /dev/null
+++ b/uidev/webpack.config.js
@@ -0,0 +1,22 @@
1const path = require('path');
2const HtmlWebpackPlugin = require('html-webpack-plugin');
3
4module.exports = {
5 entry: './src/index.tsx',
6 module: {
7 rules: [{
8 test: /\.tsx?$/,
9 use: 'ts-loader',
10 exclude: /node_modules/,
11 }],
12 },
13 resolve: {
14 extensions: ['.tsx', '.ts', '.js'],
15 },
16 mode: 'none',
17 plugins: [
18 new HtmlWebpackPlugin({
19 template: path.join('src', 'app.html'),
20 }),
21 ],
22};