webpack 设置ttf 字体 不报错但是不生效
webpack.config.js
const path = require('path');
module.exports = {
entry: './src/index.js',
mode: 'development',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
},
module: {
rules: [
{
test: /\
原创
2020-09-23 16:35:49 ·
858 阅读 ·
0 评论