weboptimizer 2.0.1128 → 2.0.1131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -6
- package/tsconfig.json +1 -0
- package/type.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1131",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -124,7 +124,6 @@
|
|
|
124
124
|
"@types/rimraf": "*",
|
|
125
125
|
"@types/webpack-env": "*",
|
|
126
126
|
"@types/webpack-sources": "*",
|
|
127
|
-
"@types/workbox-webpack-plugin": "*",
|
|
128
127
|
"@typescript-eslint/eslint-plugin": "*",
|
|
129
128
|
"@typescript-eslint/parser": "*",
|
|
130
129
|
"css-loader": "*",
|
|
@@ -167,7 +166,6 @@
|
|
|
167
166
|
"@types/mini-css-extract-plugin": "*",
|
|
168
167
|
"@types/node": "*",
|
|
169
168
|
"@types/webpack-env": "*",
|
|
170
|
-
"@types/workbox-webpack-plugin": "*",
|
|
171
169
|
"@typescript-eslint/eslint-plugin": "*",
|
|
172
170
|
"@typescript-eslint/parser": "*",
|
|
173
171
|
"css-loader": "*",
|
|
@@ -224,9 +222,6 @@
|
|
|
224
222
|
"@types/webpack-env": {
|
|
225
223
|
"optional": true
|
|
226
224
|
},
|
|
227
|
-
"@types/workbox-webpack-plugin": {
|
|
228
|
-
"optional": true
|
|
229
|
-
},
|
|
230
225
|
"@typescript-eslint/eslint-plugin": {
|
|
231
226
|
"optional": true
|
|
232
227
|
},
|
package/tsconfig.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -10,7 +10,8 @@ import MiniCSSExtractPlugin from 'mini-css-extract-plugin';
|
|
|
10
10
|
import { Options as RemoveDirectoryRecursivelyOptions } from 'rimraf';
|
|
11
11
|
import TerserWebpackPlugin from 'terser-webpack-plugin';
|
|
12
12
|
import { DefinePlugin as WebpackDefinePlugin, Configuration as BaseWebpackConfiguration, IgnorePlugin as WebpackIgnorePlugin, library as webpackLibrary, ModuleOptions as WebpackModuleOptions, RuleSetRule as WebpackRuleSetRule, RuleSetUseItem as WebpackRuleSetUseItem, WebpackOptionsNormalized } from 'webpack';
|
|
13
|
-
import
|
|
13
|
+
import { WebpackPartial as WorkboxBaseCommonOptions, BasePartial as WorkboxCommonOptions, WebpackGenerateSWOptions as WorkboxGenerateSWOptions, WebpackInjectManifestOptions as WorkboxInjectManifestOptions } from 'workbox-build';
|
|
14
|
+
import OfflinePlugin from 'workbox-webpack-plugin';
|
|
14
15
|
export interface Browser {
|
|
15
16
|
debug: boolean;
|
|
16
17
|
domContentLoaded: boolean;
|
|
@@ -367,7 +368,7 @@ export interface ResolvedConfiguration {
|
|
|
367
368
|
nodeENV: false | null | string;
|
|
368
369
|
nodeEnvironment: NodeEnvironment;
|
|
369
370
|
offline: {
|
|
370
|
-
common: WorkboxCommonOptions;
|
|
371
|
+
common: WorkboxBaseCommonOptions & WorkboxCommonOptions;
|
|
371
372
|
injectionManifest: WorkboxInjectManifestOptions;
|
|
372
373
|
serviceWorker: WorkboxGenerateSWOptions;
|
|
373
374
|
use: 'injectionManifest' | 'serviceWorker';
|