parcel icon indicating copy to clipboard operation
parcel copied to clipboard

Build with warning if second entry point not resolved

Open djr319 opened this issue 2 years ago • 0 comments

🙋 feature request

For a project with 2 (or more?) entry files, build with warning if an entry point does not resolve (because of typo or file rename)

🤔 Expected Behavior

With multiple entry points, if one of the files does not resolve, provide a warning "unknown: Entry does not exist".

😯 Current Behavior

Currently, the local dev server will fail, but "Build" will pass without warning.

💁 Possible Solution

Output a warning message at build

Optionally: Fail the build with same message as dev server

🔦 Context

💻 Examples

djr319 avatar Aug 29 '22 09:08 djr319