Skip to content

Commit

Permalink
Changing name of vite config from .ts (typescript) to .mjs (javascrip…
Browse files Browse the repository at this point in the history
…t module) avoids vite deprecation message.

Vite deprecation message looks like:

```
remote:        Build with Vite complete: /tmp/build_93418466/public/vite
remote:        The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
```

And started in vite 5.x.

Relation to .ts typescript and simple solution suggested from ElMassimo/vite_ruby#431

Seems to work great.
  • Loading branch information
jrochkind committed Jul 16, 2024
1 parent c39cfb7 commit 35a87f4
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 35a87f4

Please sign in to comment.