clone-deep
clone-deep copied to clipboard
Vite/rollup Illegal reassignment of import
I'm getting the following error, is there a known way of working around it?
Illegal reassignment of import "commonjsRequire" in "../../node_modules/clone-deep/utils.js".
file: node_modules/clone-deep/utils.js:10:0
8: var fn = require;
9:
10: require = utils;
^
11: require('is-plain-object', 'isObject');
12: require('shallow-clone', 'clone');