Если на примере pug-loader, то вот так. В webpack.config.js : {test: /\.(pug|jade)$/, loader: 'pug-loader'}, Не забываем про file-loader:
確定! 回上一頁