File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3030 <link rel =" stylesheet" href =" {{ assetUrl('styles/search.css') }}" />
3131
3232 {# Zinc #}
33- <script type =" module" src =" /dist/ zn.min.js" ></script >
34- <link rel =" stylesheet" href =" /dist/ zn.min.css" />
33+ <script type =" module" src =" {{ assetUrl('scripts/ zn.min.js') }} " ></script >
34+ <link rel =" stylesheet" href =" {{ assetUrl('styles/ zn.min.css') }} " />
3535
3636 {# Scripts #}
3737 <script src =" {{ assetUrl('scripts/turbo.js') }}" type =" module" ></script >
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ module.exports = function (eleventyConfig)
4848 // Copy assets
4949 //
5050 eleventyConfig . addPassthroughCopy ( assetsDir ) ;
51+ eleventyConfig . addPassthroughCopy ( { '../dist/zn.min.js' : 'assets/scripts/zn.min.js' } ) ;
52+ eleventyConfig . addPassthroughCopy ( { '../dist/zn.min.css' : 'assets/styles/zn.min.css' } ) ;
5153 eleventyConfig . setServerPassthroughCopyBehavior ( 'passthrough' ) ; // emulates passthrough copy during --serve
5254
5355 //
You can’t perform that action at this time.
0 commit comments