build: migrate the build tool from vue-cli to vite4 (#208)

This commit is contained in:
Fine0830
2022-12-17 14:07:03 +08:00
committed by GitHub
parent 1e0c253488
commit 44dcb1e7f6
214 changed files with 27014 additions and 54234 deletions

View File

@@ -16,10 +16,11 @@
*/
module.exports = {
root: true,
customSyntax: "postcss-html",
plugins: ["stylelint-order"],
customSyntax: "postcss-scss",
extends: ["stylelint-config-standard", "stylelint-config-prettier"],
rules: {
"function-no-unknown": null,
"selector-class-pattern": null,
"selector-pseudo-class-no-unknown": [
true,
@@ -51,6 +52,7 @@ module.exports = {
},
],
"no-empty-source": null,
"string-quotes": null,
"named-grid-areas-no-invalid": null,
"unicode-bom": "never",
"no-descending-specificity": null,
@@ -88,7 +90,7 @@ module.exports = {
overrides: [
{
files: ["*.vue", "**/*.vue", "*.html", "**/*.html"],
extends: ["stylelint-config-recommended", "stylelint-config-html"],
extends: ["stylelint-config-recommended"],
rules: {
"keyframes-name-pattern": null,
"selector-pseudo-class-no-unknown": [
@@ -105,5 +107,10 @@ module.exports = {
],
},
},
{
files: ["*.less", "**/*.less"],
customSyntax: "postcss-less",
extends: ["stylelint-config-standard", "stylelint-config-recommended-vue"],
},
],
};