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 1
1
{
2
2
"name" : " algorithm-visualizer" ,
3
- "version" : " 2.1.0 " ,
3
+ "version" : " 2.1.2 " ,
4
4
"description" : " JavaScript Tracers for Algorithm Visualizer" ,
5
5
"main" : " dist/tracers.js" ,
6
6
"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"
8
9
},
9
10
"repository" : {
10
11
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ module.exports = [{
16
16
path : buildPath ,
17
17
filename : 'tracers.js' ,
18
18
libraryTarget : 'umd' ,
19
+ globalObject : `(typeof self !== 'undefined' ? self : this)` ,
19
20
} ,
20
21
module : {
21
22
rules : [
You can’t perform that action at this time.
0 commit comments