diff --git a/packages/webpack/src/plugins/plugin.ts b/packages/webpack/src/plugins/plugin.ts index 2a823df5e3b3b..1ce11bddcdfd6 100644 --- a/packages/webpack/src/plugins/plugin.ts +++ b/packages/webpack/src/plugins/plugin.ts @@ -181,7 +181,7 @@ function normalizeOutputPath( if (!outputPath) { // If outputPath is undefined, use webpack's default `dist` directory. if (projectRoot === '.') { - return `{projectRoot}/dist}`; + return `{projectRoot}/dist`; } else { return `{workspaceRoot}/dist/{projectRoot}`; }