Add vite build (#53)

* Add vite build - baseline

* Fix build output folder structure

Matches pre-vite output

* Fix litegraph errors introduced by vite process

- Remove pre-written encapsulating iife (one is injected by vite)
- Replace all references to the global "this" with globalThis
This commit is contained in:
filtered
2024-08-06 23:14:17 +10:00
committed by GitHub
parent d2c72243f8
commit ddd1ac4f99
7 changed files with 135 additions and 73 deletions

32
.gitignore vendored
View File

@@ -1,12 +1,32 @@
node_modules/
node_modules/*
npm-debug.log
temp/
temp/*
coverage/
# Editors
/.vscode/*
!/.vscode/extensions.json
*.bak
.project
.project
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?