Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Ability to use esnext module  #316

@stramel

Description

@stramel

Currently, it is impossible to use any other module config instead of commonjs. As a result, it is impossible to test the ImportMeta interface.

You can see here, https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/snowpack-env/snowpack-env-tests.ts

The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'.ts(1343)
TypeScript@next compile error: 
The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'. (expect)tslint(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions