diff options
| author | s-ol <s+removethis@s-ol.nu> | 2021-01-25 18:39:23 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2021-01-25 19:38:07 +0000 |
| commit | feb9f58e87293ec6898add94933a4cd00f28cf27 (patch) | |
| tree | 409e9fbdc090378b5551424a90b6ad8c0733c554 /webpack.config.js | |
| download | fedidag-feb9f58e87293ec6898add94933a4cd00f28cf27.tar.gz fedidag-feb9f58e87293ec6898add94933a4cd00f28cf27.zip | |
initial commit
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..aa6ca6c --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,24 @@ +const path = require('path'); +const HtmlWebpackPlugin = require('html-webpack-plugin'); +const package = require('./package.json'); + +module.exports = { + context: path.resolve(__dirname, 'src'), + entry: './index.js', + mode: 'development', + module: { + rules: [ + { + test: /\.jsx?$/, + exclude: /node_modules/, + use: { + loader: 'babel-loader', + options: package.babel, + }, + }, + ], + }, + plugins: [ + new HtmlWebpackPlugin({ title: 'FediDag' }), + ], +} |
