Skip to content

Commit

Permalink
fix(vite.config.js): a bug has occured when netlify's building site
Browse files Browse the repository at this point in the history
getting a failure to load config from `/opt/build/repo/vite.config.js` and saying 'build.command'
failed

BREAKING CHANGE: the netlify git hooks fail
  • Loading branch information
timDeHof committed Oct 12, 2023
1 parent 0370189 commit 57e0fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

import eslint from "vite-plugin-eslint";
import path from "path";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react(), eslint()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
Expand Down

0 comments on commit 57e0fd4

Please sign in to comment.