embedded Bootstrap inside webpack

This commit is contained in:
2024-02-24 17:56:30 +08:00
parent ae0e4de23e
commit ec29250ca9
9 changed files with 26 additions and 17 deletions

View File

@@ -0,0 +1,3 @@
config.module.rules.push({test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/, type: 'asset'});
config.module.rules.push({test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, type: 'asset'});
config.module.rules.push({test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, type: 'asset/resource'});