Croppr.js
Croppr.js copied to clipboard
Bundling with webpack issues
I am beginning to setup a project to use croppr.js
where app is bundled with Webpack, but keep running into the following error when webpack runs:
ERROR in ./node_modules/croppr/dist/croppr.js
Module build failed: Error: Couldn't find preset "es2015-rollup" relative to directory
When I do add "babel-preset-es2015-rollup": "^3.0.0",
to my package.json
file, I then run into issues with babelHelpers
.
Has anyone else been able to successfully bundle Croppr.js with webpack?
Node version: 8.9.4 Webpack: 3.12