I am trying to adapt the example in the readme (9ef561bb9bdf599e7e243566b97e0dbb73b08226) on how to add an svg library under Eleventy 3.0 using WebC. But I keep getting an error Invalid bundle type: svg.
Are there any updated instructions or an example how to do this using WebC with Eleventy 3.0? (I have seen #12 but this seems to be outdated).
This is the configuration I am trying:
eleventy.config.js:
export default async function (config) {
config.addBundle('svg')
}
I am trying to adapt the example in the readme (9ef561bb9bdf599e7e243566b97e0dbb73b08226) on how to add an svg library under Eleventy 3.0 using WebC. But I keep getting an error
Invalid bundle type: svg
.Are there any updated instructions or an example how to do this using WebC with Eleventy 3.0? (I have seen #12 but this seems to be outdated).
This is the configuration I am trying:
eleventy.config.js
:base.webc
:This throws an error:
Invalid bundle type: svg
Installed versions and subdependencies:
3.0.0-alpha.10
2.0.2
0.11.2
1.0.5