This commit is contained in:
hackrobot
2024-05-21 17:11:08 +08:00
parent f127b316c2
commit cda065780a
6 changed files with 96 additions and 22 deletions

View File

@@ -83,6 +83,10 @@ const configuration: webpack.Configuration = {
use: ['style-loader', 'css-loader', 'sass-loader'],
exclude: /\.module\.s?(c|a)ss$/,
},
// {
// test: /\.scss$/,
// use: ['style-loader', 'css-loader', 'sass-loader'],
// },
// Fonts
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
@@ -172,6 +176,7 @@ const configuration: webpack.Configuration = {
devServer: {
port,
compress: true,
// hot: false,
hot: true,
headers: { 'Access-Control-Allow-Origin': '*' },
static: {