siroc icon indicating copy to clipboard operation
siroc copied to clipboard

feat: warn for external dependencies

Open pi0 opened this issue 4 years ago • 1 comments

🆒 Your use case

Being aware if a dependency is missing and being inlined

🆕 The solution you'd like

Have console warning about externals and a config to mark them as externals instead of silently inlining

pi0 avatar Dec 06 '20 21:12 pi0

Silently inlining dependencies is becoming critical which I think worth trying to bring from unbuild (https://github.com/unjs/unbuild/blob/5004f8077995075c7e547a69ad3d89cc577cad3f/src/builder/rollup.ts#L105) (last time happened on nuxt image module)

pi0 avatar Jun 23 '21 18:06 pi0