我的网站包构建(v3)出现了问题,它是从v1迁移的,但它打破了导入我{{1}上的字体文件(css)的错误}页面。这是webpack的回复:
app.js
以下是我的配置文件:
ERROR in ./node_modules/font-awesome/css/font-awesome.css
Module parse failed: /../node_modules/font-awesome/css/font-awesome.css Unexpected character '@' (7:0)
You may need an appropriate loader to handle this file type.
| /* FONT PATH
| * -------------------------- */
| @font-face {
| font-family: 'FontAwesome';
| src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');