Merge pull request #4267 from adhu2018/master

优化web相关自动构建
This commit is contained in:
Xwite 2024-10-10 15:24:03 +08:00 committed by GitHub
commit 0da8ed7304
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -25,7 +25,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- uses: pnpm/action-setup@v4
name: Install pnpm

View File

@ -65,4 +65,11 @@ export default ({ mode }) =>
},
},
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler', // or 'modern'
},
},
},
});