Skip to content

Commit

Permalink
Fix usage as a module
Browse files Browse the repository at this point in the history
I found that trying to build this with yarn together with other modules
using `require(...)` failed. `package.json` mentions an `index.js` file but
that is missing.

A simple `index.js` fixes this and allows embedding the plugin properly.
  • Loading branch information
MichiK committed Mar 26, 2019
1 parent 1e34313 commit 10ddbde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require("./source/SVG.js");
require("./source/markerTypes/shapeMarker.js");

0 comments on commit 10ddbde

Please sign in to comment.