sdk/.presetterrc.json

33 lines
814 B
JSON
Raw Normal View History

2023-10-09 17:08:40 +00:00
{
"preset": [
"@lumeweb/node-library-preset"
],
"config": {
"tsconfig": {
"compilerOptions": {
"moduleResolution": "bundler",
"typeRoots": [
"src/vite-env.d.ts"
],
"jsx": "react-jsx"
}
},
"tsconfig.build": {
"include": ["{buildSource}"],
"compilerOptions": {
"outDir": "{source}"
}
}
},
"variable": {
"source": "build",
"output": "lib",
"buildSource": "src"
},
"scripts": {
"build:vite": "vite build",
"build": "cross-env NODE_ENV=production run-s clean build:typescript:* build:vite",
"clean:buildOutput": "shx rm -rf {source}"
}
}