when to support mjs file with --experimental-modules flag Permanently deleted user 创建于 2019年01月15日 08:23 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.
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