In a vite.js
project, sometimes we will have the following warning in the console if one of the vite
/rollup
plugins imported uses an experimental feature of node:
ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
How to trace or catch it?