Skip to content

Commit

Permalink
Switch to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham committed Apr 15, 2022
1 parent f135af4 commit 99a325b
Show file tree
Hide file tree
Showing 11 changed files with 13,208 additions and 1,989 deletions.
894 changes: 32 additions & 862 deletions functions/package-lock.json

Large diffs are not rendered by default.

11 changes: 2 additions & 9 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@
"npm": "8"
},
"scripts": {
"build": "npm run clean && concurrently npm:build:*",
"build:index": "cpx \"../dist/*.html\" dist --verbose",
"build:src": "tsc",
"clean": "rm -rf dist",
"start": "npm run clean && concurrently --kill-others npm:start:*",
"start:index": "npm run build:index -- --watch",
"start:src": "npm run build:src -- --watch"
"build": "tsc",
"start": "tsc --watch --preserveWatchOutput"
},
"dependencies": {
"@google-cloud/storage": "^5.18.3",
Expand All @@ -28,8 +23,6 @@
},
"devDependencies": {
"@tsconfig/node16": "^1.0.2",
"concurrently": "^7.0.0",
"cpx2": "^4.2.0",
"typescript": "^4.6.3"
}
}
8 changes: 0 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<link href="images/favicon.ico" rel="icon" />

<meta content="{{ webapp.themeColor }}" name="theme-color" />
<link href="manifest.json" rel="manifest" />

<!-- Add to homescreen for Chrome on Android -->
<meta content="yes" name="mobile-web-app-capable" />
Expand Down Expand Up @@ -74,13 +73,6 @@
<link href="https://firestore.googleapis.com" rel="preconnect" />

<script>
// https://stackoverflow.com/a/50407571/26406
window.process = {
env: {
NODE_ENV: '{{ NODE_ENV }}',
},
};

window.Polymer = {
rootPath: '{{ basepath }}',
};
Expand Down
Loading

0 comments on commit 99a325b

Please sign in to comment.