Closed odama626 closed 2 years ago
Ok thanks! I don't know too much about this stuff so let me know if it's working.
without it it shows up like this in vite
Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
Unexpected token 'export'
node_modules/.pnpm/jsoncrush@1.1.6/node_modules/jsoncrush/JSONCrush.js:7
export default
^^^^^^
SyntaxError: Unexpected token 'export
I have it modified in my node_modules currently to get it to work, would you mind releasing a version with this change?
Ok, just published 1.1.8, should be good, let me know if that works for you.
since its in esm syntax, using type: module is required