Skip to content

Commit 916823a

Browse files
committed
chore: fix path in 11ty config
1 parent a9107f6 commit 916823a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eleventy.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = function(eleventyConfig) {
4040
eleventyConfig.addPlugin(CustomElementsManifestPlugin);
4141

4242
eleventyConfig.on('eleventy.before', async function() {
43-
const projectRoot = path.join(__dirname, '..', '..', '..', '..');
43+
const projectRoot = path.join(__dirname);
4444
await $({ cwd: path.join(projectRoot, 'elements') })`cem generate`;
4545
await $({ cwd: path.join(projectRoot, 'core', 'pfe-core') })`cem generate`;
4646
});

0 commit comments

Comments
 (0)