Skip to content

Commit

Permalink
Fix #21 Update README.md: add note that input must be ascii and canno…
Browse files Browse the repository at this point in the history
…t be UTF-8
  • Loading branch information
dennishendriksen authored Aug 28, 2024
1 parent 9c5309c commit 1b0f8f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import inlinePlugin from "@molgenis/vite-plugin-inline/src/vite-plugin-inline.js

export default defineConfig({
plugins: [inlinePlugin()],
esbuild: {
// @molgenis/vite-plugin-inline requires ascii input and cannot handle UTF-8 input
charset: "ascii",
},
build: {
rollupOptions: {
input: ["./index.html", "@molgenis/vite-plugin-inline/src/loader.ts"],
Expand Down

0 comments on commit 1b0f8f6

Please sign in to comment.