We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a33be1a commit 363ffbdCopy full SHA for 363ffbd
eleventy.config.js
@@ -1,11 +1,10 @@
1
-import * as esbuild from "esbuild";
2
-
3
export default function (eleventyConfig) {
4
// Ignore .gitignore and use .eleventyignore instead
5
eleventyConfig.setUseGitIgnore(false);
6
7
// Copy over static resources.
8
eleventyConfig.addPassthroughCopy("src/css");
+ eleventyConfig.addPassthroughCopy("src/scripts/**/*.js");
9
10
// Directory configurations and template engines.
11
return {
src/pages/search.njk
@@ -33,4 +33,4 @@ extra_css:
33
{% endfor %}
34
</ul>
35
36
-<script src="/scripts/search.js"></script>
+<script type="module" src="/scripts/search.js"></script>
0 commit comments