npm install raw-loader --save-dev. Then add the loader to your webpack config. For example: file.js import txt from './file.txt';. webpack.config.js
確定! 回上一頁