Skip to content

Es6 modules support #2

Description

@Zain-ul-din

So far @randoms-pkg/code-generator is only generating files that have commonjs imports.

There are several options we could support:

  • Es6 modules imports.
  • Add an Optional field type that will describe the modules type.

Example

 # Es6moduleimport_from'path';
# commonjsconst_=require('path');
"type": "commonjs"|"module"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions