Skip to content

Unable to build when .parcelrc does not define extends #4697

Answered by DeMoorJasper
lukyth asked this question in General
Discussion options

You must be logged in to vote

Extends is required if you want to extend the default config which is the case for you.

The following config you wanted to use would not do anything as it has no transformers, packagers, bundlers, ... configured.

{
  "namers": ["@parcel/namer-default"]
}

You can add all these things in the config if you want but in your case you probably just want a custom namer or something with the default behaviour for everything else. That's why the extends field exists to prevent you from having to go through all the trouble of creating your own config from scratch.

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@danielpeter67
Comment options

Answer selected by devongovett
Comment options

You must be logged in to vote
1 reply
@danielpeter67
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mischnic
Comment options

@lukyth
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #4697 on June 05, 2020 19:07.