ElMassimo / ElMassimo/vite-plugin-environment

Warning when running vite build - The CJS build of Vite's Node API is deprecated.

Open
#16 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
160
Forks
10
Avg merge
16h 23m
Merged PRs (30d)
1

Description

I am getting an error when building a vue 3 component library, traced to this line:
node_modules/vite-plugin-environment/dist/index.cjs:26:19

![Screenshot 2024-01-15 at 9 31 43 PM](https://github.com/ElMassimo/vite-plugin-environment/assets/1720267/2805a84e-1529-4b75-b43f-bef51511d5b5)

```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.```
https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.