From 5c0c6f41a17e82fc618521b3835b49585b80fd82 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Thu, 4 Jan 2024 09:23:59 +0100 Subject: [PATCH] Remove deprecated cjs vite config loading (#982) --- tsconfig.eslint.json | 3 ++- vite.config.js => vite.config.mjs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) rename vite.config.js => vite.config.mjs (96%) diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 6d3e673cc7..5612792b19 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -8,7 +8,8 @@ ".eslintrc.dist.cjs", "jest.config.js", "rollup.config.js", - "rollup.config.worker.js" + "rollup.config.worker.js", + "vite.config.mjs" ], "exclude": ["dist/**"] } diff --git a/vite.config.js b/vite.config.mjs similarity index 96% rename from vite.config.js rename to vite.config.mjs index 2236021fc0..e4644821a9 100644 --- a/vite.config.js +++ b/vite.config.mjs @@ -1,3 +1,4 @@ +/* eslint-disable import/no-extraneous-dependencies */ import { babel } from '@rollup/plugin-babel'; import dns from 'dns'; import { resolve } from 'path';