Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/tokenlist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"dev": "vite dev",
"preview": "vite preview",
"build": "vite build && node ./scripts/postbuild.ts",
"build": "vite build",
"check": "pnpm check:biome && pnpm check:types",
"check:biome": "biome check --write --unsafe",
"check:types": "tsgo --project tsconfig.json --noEmit",
Expand Down
36 changes: 0 additions & 36 deletions apps/tokenlist/scripts/postbuild.ts

This file was deleted.

3 changes: 3 additions & 0 deletions apps/tokenlist/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ function copyAssetsPlugin(): Plugin {
return {
name: 'copy-assets',
apply: 'build',
applyToEnvironment(environment) {
return environment.name === 'tokenlist'
},
enforce: 'post',
async closeBundle() {
const cwd = process.cwd()
Expand Down