Skip to content

gr2m/esm-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To reproduce

$ npm install
$ node index.js
/private/tmp/esm-bug/module.js:2
 [Symbol.iterator]() {
                  ^

SyntaxError: Invalid or unexpected token
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)

Then downgrade to 3.2.22 to show that it’s working as expected

$ npm i esm@3.2.22 --save-exact
+ esm@3.2.22
$ node index.js
test

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published