rollup-plugin-auto-external icon indicating copy to clipboard operation
rollup-plugin-auto-external copied to clipboard

Some cases will be ignore

Open NE-SmallTown opened this issue 6 years ago • 3 comments

The safe resolve seems not accurate, because something like @babel/xxx will not be treated as external.

I find that your comment said there is another plugin which could do this(I haven't test it for now), but I think maybe this is not a good way, from my personal perspective we should put that into this repo because this is its own responsibility to do this.

NE-SmallTown avatar Nov 20 '19 06:11 NE-SmallTown

Try https://github.com/Septh/rollup-plugin-node-externals

elado avatar Nov 21 '19 16:11 elado

@elado I tried but seems that still doesn't work, unlike this repo just ignore the @babel/xxx, the plugin you mentioned ignore all except peerDependencies

NE-SmallTown avatar Dec 03 '19 12:12 NE-SmallTown

rollup-plugin-node-externals worked for me

PredokMiF avatar Dec 06 '23 10:12 PredokMiF