parcel-bundler/parcel

parcel build doesn't complain about nonexistent entry points

Ouverte

#7 486 ouverte le 26 déc. 2021

 (9 commentaires) (0 réaction) (0 personne assignée)JavaScript (2 274 forks)batch import
:bug: Bug:pray: Help WantedGood First IssueStale IgnoreWindows

Métriques du dépôt

Stars
 (44 030 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

🐛 bug report

Parcel silently ignores nonexistent entry points instead of showing some kind of error message.

🎛 Configuration (.babelrc, package.json, cli command)

No .babelrc, no package.json. Command:

parcel build this-file-doesnt-exist.html

🤔 Expected Behavior

Build should fail with an error message like "File not found: this-file-doesnt-exist.html".

😯 Current Behavior

The build completes "successfully":

$> parcel build this-file-doesnt-exist.html
✨ Built in 418ms

🌍 Your Environment

Software Version(s)
Parcel 2.0.1
Node v17.3.0
npm 8.3.0
Operating System Windows 10

Guide contributeur