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
Is your feature request related to a problem? Please describe.
Since webpack@5 recommends configuration cleanup and output.path removing...
Consider removing defaults:
Using output.path: path.resolve(__dirname, 'dist'): you can omit it, that's the default.
Describe the solution you'd like
...it would be great to properly handle this case (when useCompilerPath option is enabled but no output.path is provided).
Describe alternatives you've considered
Explicitly set output.path is what I'm doing right now, but it feels redundant in webpack@5.
Additional context
Technically saying this is a bug, b/c, if path is not set, webpack-assets.json will be created in the project root ignoring useCompilerPath setting, but I'd like to put it as a feature.
Is your feature request related to a problem? Please describe.
Since webpack@5 recommends configuration cleanup and
output.path
removing...Describe the solution you'd like
...it would be great to properly handle this case (when
useCompilerPath
option is enabled but nooutput.path
is provided).Describe alternatives you've considered
Explicitly set
output.path
is what I'm doing right now, but it feels redundant in webpack@5.Additional context
Technically saying this is a bug, b/c, if
path
is not set,webpack-assets.json
will be created in the project root ignoringuseCompilerPath
setting, but I'd like to put it as a feature.Repro:
Actual:
webpack-assets.json
created in project's rootExpected:
webpack-assets.json
created indist
, sinceuseCompilerPath
should respect webpack@5 defaultsThe text was updated successfully, but these errors were encountered: