Skip to content

Commit

Permalink
doc: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Dec 8, 2023
1 parent 182a6f6 commit bc0dfc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To **tree-mend** (to **un**treeshake it) monaco-editor, this library provides a

This library uses a lot the `new URL('asset.extension', import.meta.url)` syntax which [is supported by vite](https://vitejs.dev/guide/assets.html#new-url-url-import-meta-url)

While it works great in `build` mode (because rollup is used), there is some issues in `watch`` mode:
While it works great in `build` mode (because rollup is used), there is some issues in `watch` mode:
- import.meta.url is not replaced while creating bundles, it is an issue when the syntax is used inside a dependency
- vite is still trying to inject/transform javascript assets files, breaking the code by injecting ESM imports in commonjs files

Expand Down

0 comments on commit bc0dfc2

Please sign in to comment.