weboptimizer 4.0.59 → 4.0.60
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/browser.d.ts +1 -2
- package/configurator.d.ts +1 -2
- package/ejsLoader.d.ts +1 -2
- package/helper.d.ts +1 -2
- package/index.d.ts +1 -2
- package/package.json +4 -4
- package/stylelintConfigurator.d.ts +1 -1
- package/webpackConfigurator.d.ts +1 -2
package/browser.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Browser, InitializedBrowser } from './type';
|
|
2
|
-
import { Logger } from 'clientnode';
|
|
3
2
|
export declare const browser: Browser;
|
|
4
|
-
export declare const log:
|
|
3
|
+
export declare const log: any;
|
|
5
4
|
/**
|
|
6
5
|
* Provides a generic browser api in node or web contexts.
|
|
7
6
|
* @param replaceWindow - Indicates whether a potential existing window object
|
package/configurator.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ResolvedConfiguration } from './type';
|
|
2
|
-
import { Logger } from 'clientnode';
|
|
3
2
|
export declare let loadedConfiguration: null | ResolvedConfiguration;
|
|
4
|
-
export declare const log:
|
|
3
|
+
export declare const log: any;
|
|
5
4
|
/**
|
|
6
5
|
* Main entry point to determine current configuration.
|
|
7
6
|
* @param context - Location from where to build current application.
|
package/ejsLoader.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import type { Encoding, Mapping } from 'clientnode';
|
|
|
2
2
|
import type { Options, AsyncTemplateFunction as EJSAsyncTemplateFunction } from 'ejs';
|
|
3
3
|
import type { LoaderContext } from 'webpack';
|
|
4
4
|
import type { Extensions, Replacements } from './type';
|
|
5
|
-
import { Logger } from 'clientnode';
|
|
6
5
|
export type TemplateFunction = EJSAsyncTemplateFunction;
|
|
7
6
|
export type CompilerOptions = Options & {
|
|
8
7
|
encoding: Encoding;
|
|
@@ -26,7 +25,7 @@ export type LoaderConfiguration = Mapping<unknown> & {
|
|
|
26
25
|
};
|
|
27
26
|
pathsToIgnore: Array<string>;
|
|
28
27
|
};
|
|
29
|
-
export declare const log:
|
|
28
|
+
export declare const log: any;
|
|
30
29
|
/**
|
|
31
30
|
* Main transformation function.
|
|
32
31
|
* @param source - Input string to transform.
|
package/helper.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { Encoding, Mapping } from 'clientnode';
|
|
2
2
|
import type { BuildConfiguration, Extensions, GivenInjection, GivenInjectionConfiguration, NormalizedGivenInjection, PathConfiguration, PackageDescriptor, Replacements, ResolvedBuildConfiguration, SpecificExtensions } from './type';
|
|
3
|
-
import { Logger } from 'clientnode';
|
|
4
3
|
export declare const KNOWN_FILE_EXTENSIONS: Array<string>;
|
|
5
4
|
export declare const KNOWN_PATHS_TO_IGNORE: Array<string>;
|
|
6
|
-
export declare const log:
|
|
5
|
+
export declare const log: any;
|
|
7
6
|
/**
|
|
8
7
|
* Determines whether given file path is within given list of file locations.
|
|
9
8
|
* @param filePath - Path to file to check.
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.60",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"babel-loader": "^10.1.1",
|
|
103
103
|
"babel-plugin-polyfill-corejs3": "^1.0.0",
|
|
104
104
|
"babel-plugin-transform-rewrite-imports": "^1.5.4",
|
|
105
|
-
"clientnode": "4.0.
|
|
105
|
+
"clientnode": "4.0.1494",
|
|
106
106
|
"core-js": "^3.50.0",
|
|
107
107
|
"ejs": "^6.0.1",
|
|
108
108
|
"exports-loader": "^5.0.0",
|
|
@@ -989,7 +989,7 @@
|
|
|
989
989
|
"cssnano": {
|
|
990
990
|
"preset": [
|
|
991
991
|
{
|
|
992
|
-
"
|
|
992
|
+
"__async_evaluate__": "(await module.optionalImport('cssnano-preset-default'))?.default"
|
|
993
993
|
},
|
|
994
994
|
"#: The autoprefixer has to be disabled in this context since it would remove all needed vendor prefixes from the preceding processing (every prefix should be needed here).",
|
|
995
995
|
{
|
|
@@ -1140,7 +1140,7 @@
|
|
|
1140
1140
|
"pre": []
|
|
1141
1141
|
},
|
|
1142
1142
|
"loader": {
|
|
1143
|
-
"
|
|
1143
|
+
"__async_evaluate__": "(await module.optionalImport('postcss-loader')) ? 'postcss-loader' : null"
|
|
1144
1144
|
},
|
|
1145
1145
|
"options": {}
|
|
1146
1146
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: PlainObject;
|
|
2
2
|
export default _default;
|
package/webpackConfigurator.d.ts
CHANGED