remove unnecessary configuration
This commit is contained in:
parent
f4f15804f0
commit
8c83ddb6da
|
@ -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",
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue