as the title
developed a npm package based on react, but because there is
in the codeimport React from "react";
so react is also packaged when it is packaged, resulting in a very large package size
now, when you want to pack a package, you don"t want to call in the dependency of react. Do you have any solutions?