Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 22, 2021 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/b4e82fdca68d6f518ad541481a899240 to your computer and use it in GitHub Desktop.
Save velotiotech/b4e82fdca68d6f518ad541481a899240 to your computer and use it in GitHub Desktop.
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