Skip to content

Latest commit

 

History

History

using-babel-loader

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

babel-loader

babel-loader を利用して ES2015+ をトランスパイルするサンプルコード。

動作環境

  • Node.js: v10.16.3
  • npm: v6.9.0

使い方

このディレクトリ上で以下のコマンドを実行してください。

npm install

その後、以下のコマンドを実行すれば、webpack が実行されてバンドルされたファイルが出力されます。

npm run build

応用

以前 Babel と babel-loader に関連する記事を書きましたので、興味がある方はこちらもご覧ください。