We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b6049 commit d057c14Copy full SHA for d057c14
src/componentize.js
@@ -266,7 +266,7 @@ export async function componentize(
266
267
// Ensure source path is relative to workspacePrefix for the args list,
268
// regardless of the directory
269
- if (resolve(sourcePath).startsWith(resolve(workspacePrefix))) {
+ if (!opts.enableAot && resolve(sourcePath).startsWith(resolve(workspacePrefix))) {
270
sourcePath = relative(workspacePrefix, sourcePath);
271
}
272
0 commit comments