upgrade vite config
This commit is contained in:
parent
ecaec2823f
commit
f44d9d7849
1 changed files with 7 additions and 6 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import legacy from "@vitejs/plugin-legacy";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import laravel from "laravel-vite-plugin";
|
||||
import path from "path";
|
||||
import { defineConfig } from "vite";
|
||||
import checker from "vite-plugin-checker";
|
||||
import eslint from "vite-plugin-eslint";
|
||||
import laravel from "laravel-vite-plugin";
|
||||
import legacy from "@vitejs/plugin-legacy";
|
||||
import path from "path";
|
||||
import stylelint from "vite-plugin-stylelint";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
|
|
@ -41,6 +41,7 @@ export default defineConfig({
|
|||
},
|
||||
plugins: [
|
||||
checker({
|
||||
enableBuild: true,
|
||||
vueTsc: {
|
||||
root: ".",
|
||||
tsconfigPath: "tsconfig.json",
|
||||
|
|
@ -74,7 +75,7 @@ export default defineConfig({
|
|||
"**/vendor/**/*.scss",
|
||||
"**/vendor/**/*.css",
|
||||
],
|
||||
lintOnStart: true,
|
||||
lintOnStart: false,
|
||||
emitError: true,
|
||||
emitWarning: true,
|
||||
emitErrorAsWarning: false,
|
||||
|
|
@ -84,7 +85,7 @@ export default defineConfig({
|
|||
cache: false,
|
||||
extensions: ["js", "ts"],
|
||||
include: "**/*.ts",
|
||||
lintOnStart: true,
|
||||
lintOnStart: false,
|
||||
emitWarning: true,
|
||||
emitError: true,
|
||||
failOnWarning: false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue