mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-07-14 00:26:52 +02:00
Add initial 11ty website structure
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
const path = require('path');
|
||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
|
||||
// webpack configuration
|
||||
let webpackConfig = {
|
||||
mode: 'production',
|
||||
entry: {
|
||||
index: './src/index.js',
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, `./build`),
|
||||
filename: '[name].js',
|
||||
library: 'ISO6391',
|
||||
},
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = webpackConfig;
|
||||
Reference in New Issue
Block a user