Skip to content

Instantly share code, notes, and snippets.

View piotr-sobczyk's full-sized avatar

Piotr Sobczyk piotr-sobczyk

View GitHub Profile
@ssaunier
ssaunier / webpack.config.js
Last active July 11, 2022 12:06
Basic webpack boilerplate
// Webpack 5 default configuration
const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
module.exports = {
mode: 'development',
entry: './src/index.js',
output: {
path: path.resolve(__dirname, './dist'),