Skip to content

Commit 9cddd64

Browse files
committed
Switch to vite
1 parent f135af4 commit 9cddd64

File tree

11 files changed

+13209
-1989
lines changed

11 files changed

+13209
-1989
lines changed

functions/package-lock.json

Lines changed: 32 additions & 862 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

functions/package.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,8 @@
1010
"npm": "8"
1111
},
1212
"scripts": {
13-
"build": "npm run clean && concurrently npm:build:*",
14-
"build:index": "cpx \"../dist/*.html\" dist --verbose",
15-
"build:src": "tsc",
16-
"clean": "rm -rf dist",
17-
"start": "npm run clean && concurrently --kill-others npm:start:*",
18-
"start:index": "npm run build:index -- --watch",
19-
"start:src": "npm run build:src -- --watch"
13+
"build": "tsc",
14+
"start": "tsc --watch --preserveWatchOutput"
2015
},
2116
"dependencies": {
2217
"@google-cloud/storage": "^5.18.3",
@@ -28,8 +23,6 @@
2823
},
2924
"devDependencies": {
3025
"@tsconfig/node16": "^1.0.2",
31-
"concurrently": "^7.0.0",
32-
"cpx2": "^4.2.0",
3326
"typescript": "^4.6.3"
3427
}
3528
}

index.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<link href="images/favicon.ico" rel="icon" />
2626

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

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

7675
<script>
77-
// https://stackoverflow.com/a/50407571/26406
78-
window.process = {
79-
env: {
80-
NODE_ENV: '{{ NODE_ENV }}',
81-
},
82-
};
83-
8476
window.Polymer = {
8577
rootPath: '{{ basepath }}',
8678
};

0 commit comments

Comments
 (0)