This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch pwa
in repository https://gitbox.apache.org/repos/asf/echarts-website.git
The following commit(s) were added to refs/heads/pwa by this push:
new 86eef4c5 chore: update ignore
86eef4c5 is described below
commit 86eef4c5fa051a8890c92f9520c70eca8f794c2d
Author: plainheart <[email protected]>
AuthorDate: Tue Apr 19 21:20:57 2022 +0800
chore: update ignore
---
.gitignore | 3 ++-
.scripts/pwa/vite.config.js | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index 2f10e554..d68d1c79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,5 +4,6 @@ en/_*.html
node_modules
/examples/data/option
/examples/data-gl/option
-sw.js
+pwa.js
+pwa-*.js
workbox-*.js
\ No newline at end of file
diff --git a/.scripts/pwa/vite.config.js b/.scripts/pwa/vite.config.js
index 70e79345..e3dcbd47 100644
--- a/.scripts/pwa/vite.config.js
+++ b/.scripts/pwa/vite.config.js
@@ -25,8 +25,9 @@ module.exports = defineConfig({
'**\/\.*\/**\/*',
'**\/node_modules\/**\/*',
'v4\/**\/*',
- 'sw\.js',
- 'workbox-*'
+ 'pwa\.js',
+ 'pwa-*\.js',
+ 'workbox-*\.js'
],
runtimeCaching: [
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]