You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've made the issue title generic because i don't want to XY Problem or come up with a predefined solution in the issue when the issue could have multiple solutions, feel free to change the title when that's more clear.
basically i'm using eleventy-plugin-bundle with a bundles: config of ["stylesheet", "javascript"] but when i use getBundleFileUrl the url extension is .stylesheet and .javascript. i'd love if these were .css and .js
the reason i'm using "stylesheet" and "javascript" is that my text editor's syntax highlighting highlights css and js inside {% stylesheet %}{% endstylesheet %}/{% javascript %}{% endjavascript %} tags, and shopify's prettier liquid plugin doesn't squanch up the content of those tags and actually formats them correctly using its css/js parser/formatter.
is there a way to change the extension of the bundle file url? or: is there a way of aliasing a bundle under another name? or: is there another thing you can think of other than me forking web-mode and the shopify plugin to make eleventy-mode and prettier-plugin-eleventy? hehe
thx! wonderful project, btw, having a great time
The text was updated successfully, but these errors were encountered:
+ Add `bundles: false` option to skip built-in bundles.
+ Throws an error on incompatible eleventy versions.
+ Adds `addBundle` and `getBundleManagers` methods to eleventyConfig.
+ Add option to set file extension separate from key #22
+ Handle multiple addPlugin calls.
+ Skip transform if no bundles in play or if page being processed did not fetch bundles.
+ Changes tests to use ESM and 3.0+
i've made the issue title generic because i don't want to XY Problem or come up with a predefined solution in the issue when the issue could have multiple solutions, feel free to change the title when that's more clear.
basically i'm using eleventy-plugin-bundle with a
bundles:
config of["stylesheet", "javascript"]
but when i usegetBundleFileUrl
the url extension is.stylesheet
and.javascript
. i'd love if these were.css
and.js
the reason i'm using "stylesheet" and "javascript" is that my text editor's syntax highlighting highlights css and js inside
{% stylesheet %}{% endstylesheet %}
/{% javascript %}{% endjavascript %}
tags, and shopify's prettier liquid plugin doesn't squanch up the content of those tags and actually formats them correctly using its css/js parser/formatter.is there a way to change the extension of the bundle file url? or: is there a way of aliasing a bundle under another name? or: is there another thing you can think of other than me forking web-mode and the shopify plugin to make
eleventy-mode
andprettier-plugin-eleventy
? hehethx! wonderful project, btw, having a great time
The text was updated successfully, but these errors were encountered: