Use @babel/preset-env instead of babel-preset-env

This issue has been tracked since 2021-05-06.

We use your package in a project which has almost up-to-date dependencies. We were compiling our JS with laravel-mix 6.0.18 and getting the following error with vue-drag-resize 1.4.2 (and maybe newer versions too):

ERROR in ./node_modules/vue-drag-resize/dist/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel-preset-env'

Maybe the switch from babel-preset-env (which is deprecated) to @babel/preset-env would solve this error.

We tried to resolve this by manually re-add-ing babel-preset-env to our package.json. The compiling then is succesfull. But we get a call stack size limit reached in the frontend, so using both a mix of the deprecated and new preset-env package is not working either.

kirillmurashov wrote this answer on 2021-05-07

Fixed in 1.5.3 version

More Details About Repo
Owner Name kirillmurashov
Repo Name vue-drag-resize
Full Name kirillmurashov/vue-drag-resize
Language JavaScript
Created Date 2018-04-26
Updated Date 2022-11-25
Star Count 1764
Watcher Count 24
Fork Count 291
Issue Count 89


Issue Title Created Date Updated Date