mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-07 12:16:14 +00:00
clean up config file
This commit is contained in:
parent
39c1da0d03
commit
b646aa7b0b
|
@ -3,7 +3,7 @@ import path from 'node:path';
|
||||||
|
|
||||||
import { optimizeLodashImports } from '@optimize-lodash/rollup-plugin';
|
import { optimizeLodashImports } from '@optimize-lodash/rollup-plugin';
|
||||||
import react from '@vitejs/plugin-react';
|
import react from '@vitejs/plugin-react';
|
||||||
import { loadEnv, PluginOption } from 'vite';
|
import { PluginOption } from 'vite';
|
||||||
import svgr from 'vite-plugin-svgr';
|
import svgr from 'vite-plugin-svgr';
|
||||||
import { analyzer } from 'vite-bundle-analyzer';
|
import { analyzer } from 'vite-bundle-analyzer';
|
||||||
import RailsPlugin from 'vite-plugin-rails';
|
import RailsPlugin from 'vite-plugin-rails';
|
||||||
|
@ -27,7 +27,6 @@ export const config: UserConfigFnPromise = async ({ mode, command }) => {
|
||||||
},
|
},
|
||||||
{} as Record<string, string>,
|
{} as Record<string, string>,
|
||||||
);
|
);
|
||||||
const env = loadEnv(mode, process.cwd());
|
|
||||||
return {
|
return {
|
||||||
root: jsRoot,
|
root: jsRoot,
|
||||||
css: {
|
css: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user