Throw an error for "main": "something.html"
in package.json
#6110
Labels
Milestone
"main": "something.html"
in package.json
#6110
🐛 bug report
It happens way too often that
"main": "index.html"
is specified in package.json, and the source files are overwritten.🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
"main" musn't specified a HTML file. Remove this property
😯 Current Behavior
Builds something
💁 Possible Solution
Should be checked in here: https://github.com/parcel-bundler/parcel/blob/v2/packages/core/core/src/requests/TargetRequest.js
The text was updated successfully, but these errors were encountered: