The version of rollup-plugin-node-resolve I am using is 4.2.1. I want my repository to be compatible with some lower-level browsers, so I used babel's core-js. But the result of the package is not polyfill, but is loaded by require or define. If you don't have these two methods, you will get an error.
The version of rollup-plugin-node-resolve I am using is 4.2.1. I want my repository to be compatible with some lower-level browsers, so I used babel's core-js. But the result of the package is not polyfill, but is loaded by require or define. If you don't have these two methods, you will get an error.
This is the result of my packaging.
I hope that these files should be included in my packaged files instead of being introduced again.