You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require() of ES Module node_modules/strip-json-comments/index.js not supported.
Instead change the require of index.js to a dynamic import() which is available in all CommonJS modules
Looks like the devs have decided to lock in ES6 only. For those looking for a similar utility package that still supports require, check out jsonminify.
minimal repo
version: 4.0.0
tested on node v14 & v16 LTS
The text was updated successfully, but these errors were encountered: