File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " algorithm-visualizer" ,
3- "version" : " 2.1.0 " ,
3+ "version" : " 2.1.2 " ,
44 "description" : " JavaScript Tracers for Algorithm Visualizer" ,
55 "main" : " dist/tracers.js" ,
66 "scripts" : {
7- "build" : " node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.config.js"
7+ "build" : " node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.config.js" ,
8+ "prepublish" : " npm run build"
89 },
910 "repository" : {
1011 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ module.exports = [{
1616 path : buildPath ,
1717 filename : 'tracers.js' ,
1818 libraryTarget : 'umd' ,
19+ globalObject : `(typeof self !== 'undefined' ? self : this)` ,
1920 } ,
2021 module : {
2122 rules : [
You can’t perform that action at this time.
0 commit comments