Skip to content

Commit

Permalink
webpack fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan-Lyashenko committed Oct 10, 2018
1 parent 9cba861 commit 3f8d53d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/js2flowchart.js
Expand Up @@ -7,7 +7,7 @@
exports["js2flowchart"] = factory();
else
root["js2flowchart"] = factory();
})(window, function() {
})((typeof window !== 'undefined' ? window : this), function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
Expand Down
2 changes: 1 addition & 1 deletion dist/js2flowchart.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "js2flowchart",
"version": "1.1.5",
"version": "1.1.6",
"author": "Bohdan Liashenko",
"license": "MIT",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Expand Up @@ -17,7 +17,8 @@ const config = {
filename: outputFile,
library: libraryName,
libraryTarget: 'umd',
umdNamedDefine: true
umdNamedDefine: true,
globalObject: "(typeof window !== 'undefined' ? window : this)"
},
module: {
rules: [
Expand Down

0 comments on commit 3f8d53d

Please sign in to comment.