Skip to content

Commit d3e68cc

Browse files
committed
fix: remove bundle references from docs plugin
Remove the bundle() call and pfe.min.* passthrough copies from the Eleventy docs plugin, since the bundled entrypoint was removed. Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f328076 commit d3e68cc

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

docs/_plugins/pfe-assets.cjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,10 @@ function demoPaths(content) {
6363
}
6464
}
6565

66-
/** Generate a single-file bundle of all the repo's components and their dependencies */
67-
async function bundle() {
68-
const { bundle } = await import('../../scripts/bundle.js');
69-
await bundle();
70-
}
71-
7266
module.exports = {
7367
configFunction(eleventyConfig, options) {
7468
eleventyConfig.addPassthroughCopy('docs/images/favicon.ico');
7569
eleventyConfig.addPassthroughCopy('docs/bundle.{js,map,ts}');
76-
eleventyConfig.addPassthroughCopy('docs/pfe.min.{map,css}');
77-
eleventyConfig.addPassthroughCopy({ 'elements/pfe.min.*': '/' } );
7870
eleventyConfig.addPassthroughCopy('docs/demo.{js,map,ts}');
7971
eleventyConfig.addPassthroughCopy('docs/main.mjs');
8072
eleventyConfig.addPassthroughCopy({
@@ -94,7 +86,5 @@ module.exports = {
9486
// so here we transform the paths found in those files to match the docs site's file structure
9587
eleventyConfig.addTransform('demo-paths', demoPaths);
9688

97-
// create /docs/pfe.min.js
98-
eleventyConfig.on('eleventy.before', () => bundle(options));
9989
},
10090
};

0 commit comments

Comments
 (0)