when to support mjs file with --experimental-modules flag

  when running  mjs (ES6 syntax)  with nodejs  ,i have to add   " --experimental-modules"  manually.

  is there any plan to add flag  automatically?

 

condition :

      mjs file type   

      ES6 syntax. 

1 comment

No plans so far.

You can specify this option in Node.js run configuration template (Run | Edit Configurations..., Templates/Node.js) to have all new run configurations created with this flag

0

Please sign in to leave a comment.