You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parcel should provide a way to configure targets outside the package.json, either via the CLI (with v1 it was possible to pass all the configuration) or in another file.
🤔 Expected Behavior
Be able to fully configure a build without "touching" the package.json
It works by extracting/finding entries of Lambda functions defined in a stack and then automatically bundles them for the user when the AWS CDK app gets synthesized. Unfortunately, in order to offer this "it just works" experience we have to temporarily update the user's package.json with some Parcel configuration, run a Parcel build and then revert the file to its original content. This is not clean.
🙋 feature request
Parcel should provide a way to configure targets outside the
package.json
, either via the CLI (with v1 it was possible to pass all the configuration) or in another file.🤔 Expected Behavior
Be able to fully configure a build without "touching" the
package.json
😯 Current Behavior
Currently not possible
🔦 Context
Parcel is currently being used in the AWS CDK (AWS Cloud Development Kit) library to bundle Lambda functions written in JavaScript or Typesript.
The module
@aws-cdk/aws-lambda-nodejs
offers this feature.It works by extracting/finding entries of Lambda functions defined in a stack and then automatically bundles them for the user when the AWS CDK app gets synthesized. Unfortunately, in order to offer this "it just works" experience we have to temporarily update the user's
package.json
with some Parcel configuration, run a Parcel build and then revert the file to its original content. This is not clean.💻 Examples
OR (bring back CLI parameters when the entry file is specified)
The text was updated successfully, but these errors were encountered: