Skip to content

Commit c11f060

Browse files
authored
Update packages/@lwc/integration-not-karma/configs/base.mjs
1 parent 2d9f4a4 commit c11f060

File tree

1 file changed

+3
-1
lines changed
  • packages/@lwc/integration-not-karma/configs

1 file changed

+3
-1
lines changed

packages/@lwc/integration-not-karma/configs/base.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export default {
3232
if (source === 'test-utils') {
3333
return '/helpers/utils.mjs';
3434
} else if (source === 'wire-service') {
35-
// `/__wds-outside-roout__/${depth}/` === '../'.repeat(depth)
35+
// To serve files outside the web root (e.g. node_modules in the monorepo root),
36+
// @web/dev-server provides this "magic" path. It's hacky of us to use it directly.
37+
// `/__wds-outside-root__/${depth}/` === '../'.repeat(depth)
3638
return '/__wds-outside-root__/1/wire-service/dist/index.js';
3739
}
3840
},

0 commit comments

Comments
 (0)