Skip to content

Commit a02d303

Browse files
committed
Update webpack output settings
1 parent 330213d commit a02d303

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "algorithm-visualizer",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "JavaScript Tracers for Algorithm Visualizer",
55
"main": "dist/tracers.js",
66
"scripts": {

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module.exports = [{
1414
},
1515
output: {
1616
path: buildPath,
17-
filename: 'tracers.js',
17+
filename: 'algorithm-visualizer.js',
18+
library: 'AlgorithmVisualizer',
1819
libraryTarget: 'umd',
1920
globalObject: `(typeof self !== 'undefined' ? self : this)`,
2021
},

0 commit comments

Comments
 (0)