add 隐蔽规划

This commit is contained in:
gcw_IJ7DAiVL
2025-09-24 11:15:23 +08:00
parent e2b73640df
commit c1876d23bd
8 changed files with 1991 additions and 59 deletions

View File

@ -19,6 +19,22 @@ module.exports = defineConfig({
'@': path.resolve(__dirname, 'src'),
},
}
// 添加 .ini 文件处理规则
if (config.module && config.module.rules) {
config.module.rules.push({
test: /\.ini$/,
use: 'raw-loader'
})
} else {
config.module = {
rules: [
{
test: /\.ini$/,
use: 'raw-loader'
}
]
}
}
},
css: {
loaderOptions: {