Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mocha ES6 modules: webpack config v2
module.exports = {
entry: ['./setup.js', './run.js'],
output: {
filename: 'bundle.js',
},
resolve: {
alias: {
'https://unpkg.com/chai@4.1.2/chai.js': 'chai/chai.js'
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.