1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-29 19:20:39 +02:00

webpack literally breaks paper.js when it minifies

This commit is contained in:
Pomax
2018-06-24 00:04:09 -07:00
parent 3d334c2559
commit e5821b3f6a
13 changed files with 883 additions and 41350 deletions

View File

@@ -39,7 +39,7 @@ var baseClass = {
this.ctx.scale(dpr, dpr);
if (this.props.paperjs) {
var Paper = this.Paper = require("../lib/vendor/paperjs/paper-core");
var Paper = this.Paper = require("paper/dist/paper-core");
Paper.setup(cvs);
}