Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix entries in package.json (#16)
When importing a names export from this library in a Vercel functions, it crashes: > Error: Named export 'isString' not found. The requested module 'pure-parse' is a CommonJS module, which may not support all module.exports as named exports. > CommonJS modules can always be imported via the default export, for example using: > > import pkg from 'pure-parse'; > const { isString } = pkg; > > [builder] module.exports as named exports. > CommonJS modules can always be imported via the default export, for example using: > > import pkg from 'pure-parse'; > const { isString } = pkg; > ## How to test? (optional) <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->
- Loading branch information