資料 ・バージョン https://github.com/nodejs/Release#release-schedule ・本家資料 http://exploringjs.com/es6/ch_modules.html#sec_design-goals-es6-modules 変更点 ・babel等のトランスパイラを利用しなくてもnodeだけでES6 moduleの記述ができるように。 (他略) 必要な作業 サマリ ・バージョンを8.xへ ・module.exports等はexport defaultを使う ・ファイルの拡張子を.jsから.mjsにする ・UnitTest等でtestモジュールを利用している場合は.mjsを対象に ・node起動時に--experimental-modulesオプションを付与して起動 詳細 ▼ バージョンを8.xへ 今回は8.11.xに