Skip to content

Commit

Permalink
fix window is not defined xtermjs#2749
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaCS3 committed Mar 5, 2020
1 parent 0dc2d1b commit ea56788
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ module.exports = {
output: {
filename: 'xterm.js',
path: path.resolve('./lib'),
libraryTarget: 'umd'
libraryTarget: 'umd',
umdNamedDefine: true,
globalObject: 'this'
},
mode: 'production'
};

0 comments on commit ea56788

Please sign in to comment.