在 webpack.config.js 設定檔中,於 module 欄位的 rules 陣列內,加入Babel的載入器(loader)規則。Webpack會去讀取進入點的JS檔案所 require 或是 import ...
確定! 回上一頁