Allow local optimizers? #8659
-
Would it be possible to allow local optimizers? Not for actual developing a public npm package but if I want to do something specific to my own code. It would be nice to do something like this: /* .parcelrc */
{
"extends": "@parcel/config-default",
"optimizers": {
"*.js": [
"...",
"./license/parcel-optimizer-magic-stuff.js"
]
}
} Currently this results in the error Parcel optimizer packages must be named according to "parcel-optimizer-{name}" which I'm not against. But it doesn't make sense to validate a package name if it's a local path. |
Beta Was this translation helpful? Give feedback.
Answered by
devongovett
Nov 25, 2022
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
and3k5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://parceljs.org/features/plugins/#local-plugins
#4321