Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
const path = require('path');
module.exports = {
mode: 'development',
devtool: 'source-map',
entry: {
index: './index.js'
output: {
globalObject: 'self',
path: path.resolve(__dirname, './dist/'),
filename: '[name].bundle.js',
publicPath: '/quill/dist'
devServer: {
contentBase: path.join(__dirname),
compress: true,
publicPath: '/dist/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment