Skip to content

Commit

Permalink
docs: update to use new blockquote highlight syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Dec 12, 2023
1 parent 95a2319 commit 602627d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

`rollup-plugin-copy` for Vite with dev server support.

> **Note**
> [!NOTE]
> Before you use this plugin, consider using [public directory](https://vitejs.dev/guide/assets.html#the-public-directory) or [`import` in JavaScript](https://vitejs.dev/guide/features.html#static-assets).
> In most cases, these will work.
Expand Down Expand Up @@ -39,7 +39,7 @@ export default {
For example, if you use the config above, you will be able to fetch `bin/example.wasm` with `fetch('/wasm-files/example.wasm')`.
So the file will be copied to `dist/wasm-files/example.wasm`.

> **Warning**
> [!WARNING]
>
> If you are using Windows, make sure to use `normalizePath` after doing `path.resolve` or else.
> `\` is a escape charactor in `fast-glob` and you should use `/`.
Expand Down

0 comments on commit 602627d

Please sign in to comment.