Skip to content

Commit

Permalink
docs: note temporary konami-code-js Vite optimizeDeps workaround (#836)
Browse files Browse the repository at this point in the history
## PR Checklist

- [x] Addresses an existing open issue: fixes #822 (finally!)
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/emoji-blast/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/emoji-blast/blob/main/.github/CONTRIBUTING.md)
were taken

## Overview

Notes the workaround needed while `konami-code-js` can't be run in ESM
mode, per
#822 (comment).
  • Loading branch information
JoshuaKGoldberg authored Dec 10, 2024
2 parents baeccf7 + 1eef12d commit 512d2b7
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ You can then use the `"@konami-emoji-blast/nuxt"` plugin in your `nuxt.config.*`
```ts
export default defineNuxtConfig({
modules: ["@konami-emoji-blast/nuxt"],

// Temporary workaround for https://github.com/JoshuaKGoldberg/emoji-blast/issues/822:
vite: {
optimizeDeps: {
include: ["konami-emoji-blast > konami-code-js"],
},
},
});
```

Expand Down

0 comments on commit 512d2b7

Please sign in to comment.