From 2c514e58eabd71af280b727514dccb7c8db4e6cf Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Wed, 9 Jan 2019 11:05:32 +0100 Subject: Finalize packages & replace storybook with homegrown `uidev` --- uidev/webpack.config.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 uidev/webpack.config.js (limited to 'uidev/webpack.config.js') 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 @@ +const path = require('path'); +const HtmlWebpackPlugin = require('html-webpack-plugin'); + +module.exports = { + entry: './src/index.tsx', + module: { + rules: [{ + test: /\.tsx?$/, + use: 'ts-loader', + exclude: /node_modules/, + }], + }, + resolve: { + extensions: ['.tsx', '.ts', '.js'], + }, + mode: 'none', + plugins: [ + new HtmlWebpackPlugin({ + template: path.join('src', 'app.html'), + }), + ], +}; -- cgit v1.2.3-54-g00ecf