skip web viewer paths

This commit is contained in:
Dan Percic 2023-06-23 18:22:26 +03:00
parent 2b780beb5a
commit 4e810da3bb
3 changed files with 3 additions and 16 deletions

View File

@ -6,14 +6,7 @@
"name": "app", "name": "app",
"installMode": "prefetch", "installMode": "prefetch",
"resources": { "resources": {
"files": [ "files": ["/favicon.ico", "/manifest.webmanifest", "/*.css", "/*.js", "!/assets/wv-resources/**"]
"/favicon.ico",
"/manifest.webmanifest",
"/*.css",
"/*.js",
"!/assets/wv-resources/core/webviewer-core.min.js",
"!/assets/wv-resources/ui/webviewer-ui.min.js"
]
} }
}, },
{ {
@ -21,12 +14,7 @@
"installMode": "lazy", "installMode": "lazy",
"updateMode": "prefetch", "updateMode": "prefetch",
"resources": { "resources": {
"files": [ "files": ["/assets/**", "!/assets/wv-resources/**", "/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"]
"/assets/**",
"!/assets/wv-resources/core/webviewer-core.min.js",
"!/assets/wv-resources/ui/webviewer-ui.min.js",
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
]
} }
} }
] ]

View File

@ -48,7 +48,6 @@ COPY sonar.js sonar.js
## RUN node sonar.js ## RUN node sonar.js
RUN yarn run build-lint-all RUN yarn run build-lint-all
RUN yarn run build-paligo-styles RUN yarn run build-paligo-styles
RUN rm /ng-app/dist/apps/red-ui/ngsw.json
CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"] CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]

View File

@ -1,6 +1,6 @@
{ {
"name": "redaction", "name": "redaction",
"version": "3.988.65", "version": "3.988.66",
"private": true, "private": true,
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {