Closed allejo closed 7 months ago
The del package became ESM only in v7.0.0 (https://github.com/sindresorhus/del/releases/tag/v7.0.0) and so we used the await import() trick as mentioned in Sindre's ESM help docs. Support for the await import syntax was introduced in ECMAScript 2020, so let's bump the parser setting for eslint so that it knows about the syntax.
del
await import()
await import
Fixes #3915
CHANGES.md
Changes to minified artifacts in /build, after gzip compression.
/build
Total change -6 B
The
del
package became ESM only in v7.0.0 (https://github.com/sindresorhus/del/releases/tag/v7.0.0) and so we used theawait import()
trick as mentioned in Sindre's ESM help docs. Support for theawait import
syntax was introduced in ECMAScript 2020, so let's bump the parser setting for eslint so that it knows about the syntax.Fixes #3915
Checklist
CHANGES.md