Skip to content

Commit

Permalink
Merge pull request #8 from LibrariesHacked/7-build-error-in-index
Browse files Browse the repository at this point in the history
Fixing build of govuk framework
  • Loading branch information
DaveBathnes authored Jul 30, 2024
2 parents 99bc72b + b471512 commit ff7b873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ <h1 class="govuk-heading-l">Code</h1>
<\/script>
<div id="libraryfinder-widget" data-width="${width}" data-height="${height}" data-primary="${primary}" data-secondary="${secondary}"></div>`;
codeLibraryFinder.innerText = embedScript;
hljs.highlightElement(codeLibraryFinder);
};

refreshCode();
Expand Down
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export default defineConfig({
rollupOptions: {
output: {
entryFileNames: 'libraryfinder-widget.js'
}
},
external: ['/govuk-frontend-5.4.0.min.js']
}
}
})

0 comments on commit ff7b873

Please sign in to comment.