Simplify image support detection for SW

Instead of using extra files + a plugin to inline images, report image support from the main thread before caching assets.
This commit is contained in:
Ingvar Stepanyan
2021-01-07 15:24:20 +00:00
parent dfa7695a97
commit c8310089ce
8 changed files with 13 additions and 62 deletions

5
missing-types.d.ts vendored
View File

@@ -32,11 +32,6 @@ declare module 'css:*' {
export default source;
}
declare module 'data-url:*' {
const url: string;
export default url;
}
declare var ga: {
(...args: any[]): void;
q: any[];