diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-10-04 12:19:25 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-10-04 12:19:25 +0000 |
| commit | 1ab9ed5b297048c5d3bc0278eddeb5a1d1c80367 (patch) | |
| tree | 929cd8dd9eaa99894e4f7da9b2ad0f6e5be1abd6 /webpack.config.js | |
| download | isomorphic-kb-explorer-1ab9ed5b297048c5d3bc0278eddeb5a1d1c80367.tar.gz isomorphic-kb-explorer-1ab9ed5b297048c5d3bc0278eddeb5a1d1c80367.zip | |
initial commit
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..ef5b839 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,23 @@ +const path = require('path'); +const HtmlWebpackPlugin = require('html-webpack-plugin'); +const package = require('./package.json'); + +module.exports = { + context: path.resolve(__dirname, 'app'), + entry: './index.js', + mode: 'development', + module: { + rules: [ + { + test: /\.jsx?$/, + use: { + loader: 'babel-loader', + options: package.babel, + }, + }, + ], + }, + plugins: [ + new HtmlWebpackPlugin({ title: 'Wicki-Hayden Explorer' }), + ], +} |
