Cweili / svelte-fa

Tiny FontAwesome component for Svelte
https://cweili.github.io/svelte-fa/
MIT License
398 stars 24 forks source link

Fix invalid TypeScript configuration #317

Closed theodorejb closed 7 months ago

theodorejb commented 7 months ago

The module and moduleResolution settings are compiler options, and thus must be part of the compilerOptions object to take effect. NodeNext and Node16 are the only correct module options for code intended to run in Node.js 12+.

Per the documentation: 1

node16 and nodenext are the only correct module options for all apps and libraries that are intended to run in Node.js v12 or later, whether they use ES modules or not.

Note: the option values are case-insensitive, and I used the casing matching the JSON schema and suggested by VS Code.

Cweili commented 7 months ago

Thanks!