Output commonjs for headless

This commit is contained in:
Daniel Imms
2021-07-22 16:01:20 -07:00
parent 9b2e511bcb
commit 2191d1a16a
+3 -1
View File
@@ -35,7 +35,9 @@ module.exports = {
output: {
filename: 'xterm.js',
path: path.resolve('./lib-headless'),
libraryTarget: 'umd'
library: {
type: 'commonjs'
}
},
mode: 'production'
};