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
How has this issue affected you? What are you trying to accomplish? I'm trying to add monaco editor to my app. It requires several workers to be built separately.
I also try to change the "distDir" to other values (such as "dist/test1" for the app and "dist/test2" for the workers) but none work. The default "dist/target_name" is always used.
I also learned that it works fine if the "distDir" are different (e.g. "distfoo" and "distbar", or even "dist" and "dist/foo")
Update: I tried some more and turn out it only happen with parcel and not parcel build
thien-do
changed the title
distDir option is not applied for multiple targets
Parcel 2: same "distDir" option is not applied for multiple targets
Aug 24, 2021
馃悰 bug report
The
distDir
option in each "target" is not applied. The defaultdist/<target_name>
is always used馃帥 Configuration (.babelrc, package.json, cli command)
馃 Expected Behavior
The output of both targets should be under "dist"
馃槸 Current Behavior
馃拋 Possible Solution
I don't know...
馃敠 Context
How has this issue affected you? What are you trying to accomplish? I'm trying to add monaco editor to my app. It requires several workers to be built separately.
I also try to change the "distDir" to other values (such as "dist/test1" for the app and "dist/test2" for the workers) but none work. The default "dist/target_name" is always used.
馃捇 Code Sample
https://github.com/vimdotmd/vimdotmd-3/blob/82053d25ffb68f073752340c9498913763ed2583/package.json#L6-L17
馃實 Your Environment
The text was updated successfully, but these errors were encountered: