weboptimizer 2.0.1206 → 2.0.1208
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 +14 -18
- package/type.d.ts +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1208",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -612,30 +612,26 @@
|
|
|
612
612
|
},
|
|
613
613
|
"favicon": {
|
|
614
614
|
"background": "white",
|
|
615
|
-
"
|
|
616
|
-
"
|
|
617
|
-
"
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
"
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
615
|
+
"cache": true,
|
|
616
|
+
"favicons": {
|
|
617
|
+
"appName": {
|
|
618
|
+
"__evaluate__": "self.name"
|
|
619
|
+
},
|
|
620
|
+
"icons": {
|
|
621
|
+
"android": true,
|
|
622
|
+
"appleIcon": true,
|
|
623
|
+
"appleStartup": true,
|
|
624
|
+
"favicons": true,
|
|
625
|
+
"windows": true,
|
|
626
|
+
"yandex": true
|
|
627
|
+
}
|
|
627
628
|
},
|
|
628
629
|
"inject": true,
|
|
629
630
|
"logo": {
|
|
630
631
|
"__evaluate__": "self.path.source.asset.favicon"
|
|
631
632
|
},
|
|
632
|
-
"persistentCache": true,
|
|
633
633
|
"prefix": {
|
|
634
634
|
"__evaluate__": "`${path.relative(self.path.target.base, path.resolve(self.path.target.asset.image, 'favicons-[chunkhash]'))}/`"
|
|
635
|
-
},
|
|
636
|
-
"statsFilename": "iconStats.json",
|
|
637
|
-
"title": {
|
|
638
|
-
"__evaluate__": "self.name"
|
|
639
635
|
}
|
|
640
636
|
},
|
|
641
637
|
"files": {
|
package/type.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
/// <reference types="webpack-env" />
|
|
3
3
|
import { AnyFunction, Encoding, Mapping, PlainObject, SecondParameter } from 'clientnode/type';
|
|
4
|
-
import { FaviconStreamOptions } from 'favicons';
|
|
5
4
|
import FaviconWebpackPlugin from 'favicons-webpack-plugin';
|
|
5
|
+
import { FaviconWebpackPlugionOptions as FaviconWebpackPluginOptions } from 'favicons-webpack-plugin/src/options';
|
|
6
6
|
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
7
7
|
import ImageMinimizerWebpackPlugin, { PluginOptions as ImageMinimizerOptions } from 'image-minimizer-webpack-plugin';
|
|
8
8
|
import { JSDOM } from 'jsdom';
|
|
@@ -278,9 +278,7 @@ export interface ResolvedConfiguration {
|
|
|
278
278
|
self: ExportFormat;
|
|
279
279
|
};
|
|
280
280
|
extensions: Extensions;
|
|
281
|
-
favicon:
|
|
282
|
-
logo: string;
|
|
283
|
-
};
|
|
281
|
+
favicon: FaviconWebpackPluginOptions;
|
|
284
282
|
files: {
|
|
285
283
|
additionalPaths: Array<string>;
|
|
286
284
|
compose: {
|