remove unnecessary configuration

This commit is contained in:
Pavel Prichodko 2022-07-01 15:22:26 +02:00
parent f4f15804f0
commit 8c83ddb6da
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
2 changed files with 1 additions and 7 deletions

View File

@ -24,7 +24,7 @@
"postbuild": "yarn typegen", "postbuild": "yarn typegen",
"test": "vitest", "test": "vitest",
"typecheck": "tsc", "typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly --paths null || true", "typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src", "lint": "eslint src",
"format": "prettier --write src", "format": "prettier --write src",
"protos": "protons protos/*.proto", "protos": "protons protos/*.proto",

View File

@ -1,7 +1,6 @@
/// <reference types="vitest" /> /// <reference types="vitest" />
import react from '@vitejs/plugin-react' import react from '@vitejs/plugin-react'
import { resolve } from 'node:path'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import { dependencies, peerDependencies } from './package.json' import { dependencies, peerDependencies } from './package.json'
@ -13,11 +12,6 @@ const external = [
export default defineConfig(({ mode }) => { export default defineConfig(({ mode }) => {
return { return {
resolve: {
alias: {
'~': resolve('.'),
},
},
build: { build: {
target: 'es2020', target: 'es2020',
lib: { lib: {