-
-
Notifications
You must be signed in to change notification settings - Fork 793
Open
Milestone
Description
Now that most of the libraries are already in ESM, I think it's time Feathers also release an ESM build. It should be pretty easy just to change the module from commonjs to ES2020 a few other changes mentioned in https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c.
Line 5 in e013f98
| "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ |
The advantage is then I could just do
import { Forbidden } from '@feathersjs/errors'instead of
import errors from '@feathersjs/errors'
const { Forbidden } = errors;radionwikisteffanhalv and FossPrime
Metadata
Metadata
Assignees
Labels
No labels