Skip to content

Commit 14afa43

Browse files
committed
cs
1 parent c081725 commit 14afa43

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/index.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import {
33
ConcatSource,
44
RawSource
55
} from 'webpack-sources';
6-
import { getManifest } from 'workbox-build';
6+
import {
7+
getManifest
8+
} from 'workbox-build';
79
import getDefaultConfig from 'workbox-webpack-plugin/build/lib/get-default-config';
810
import warnAboutConfig from 'workbox-webpack-plugin/build/lib/warn-about-config';
911
import getManifestEntriesFromCompilation from 'workbox-webpack-plugin/build/lib/get-manifest-entries-from-compilation';
@@ -14,8 +16,12 @@ import convertStringToAsset from 'workbox-webpack-plugin/build/lib/convert-strin
1416
import getAssetHash from 'workbox-webpack-plugin/build/lib/get-asset-hash';
1517
import formatManifestFilename from 'workbox-webpack-plugin/build/lib/format-manifest-filename';
1618
import relativeToOutputPath from 'workbox-webpack-plugin/build/lib/relative-to-output-path';
17-
import { identifier } from 'service-worker-loader';
18-
import { onHook } from './utils';
19+
import {
20+
identifier
21+
} from 'service-worker-loader';
22+
import {
23+
onHook
24+
} from './utils';
1925

2026
const SERVICE_WORKER_LOADER_COMPILER_NAME = identifier || 'service-worker';
2127

src/utils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { name } from '../package.json';
1+
import {
2+
name
3+
} from '../package.json';
24

35
const identifier = name;
46

0 commit comments

Comments
 (0)