diff options
author | 2020-01-03 21:56:44 +0100 | |
---|---|---|
committer | 2020-01-03 21:56:44 +0100 | |
commit | cb899c02770e9819d6ed84fc508976520f4c0a79 (patch) | |
tree | bbee2679a14cd52fd4e068730c2f66bb6c0cb4e6 /package.json | |
parent | Fix an issue in the docker-compose files (diff) | |
download | packages-5-cb899c02770e9819d6ed84fc508976520f4c0a79.tar.gz packages-5-cb899c02770e9819d6ed84fc508976520f4c0a79.tar.bz2 packages-5-cb899c02770e9819d6ed84fc508976520f4c0a79.zip |
Fix issues due to the modularity of webpack
Webpack creates multiple modules. This way, some functions aren't
accessible the way they were before. I.e. functions which are defined
in, for instance, index.js aren't accessible from index.html.erb out
of the box. That's because webpack prevents polluting the global scope.
This has been fixed in this commit.
Signed-off-by: Max Magorsch <max@magorsch.de>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index 77426bb..41d8e52 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "@rails/webpacker": "^4.2.2", "bootstrap": "4.3.1", "coffeescript": "^2.5.0", + "d3": "3.5.6", "jquery": "^3.4.1", "jquery-ujs": "^1.2.2", "popper.js": "^1.16.0", |