We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0c5da3 commit 330213dCopy full SHA for 330213d
2 files changed
package.json
@@ -1,10 +1,11 @@
1
{
2
"name": "algorithm-visualizer",
3
- "version": "2.1.0",
+ "version": "2.1.2",
4
"description": "JavaScript Tracers for Algorithm Visualizer",
5
"main": "dist/tracers.js",
6
"scripts": {
7
- "build": "node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.config.js"
+ "build": "node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.config.js",
8
+ "prepublish": "npm run build"
9
},
10
"repository": {
11
"type": "git",
webpack.config.js
@@ -16,6 +16,7 @@ module.exports = [{
16
path: buildPath,
17
filename: 'tracers.js',
18
libraryTarget: 'umd',
19
+ globalObject: `(typeof self !== 'undefined' ? self : this)`,
20
21
module: {
22
rules: [
0 commit comments