weboptimizer 2.0.1605 → 2.0.1606

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.
Files changed (3) hide show
  1. package/helper.js +1 -1
  2. package/package.json +3 -3
  3. package/type.d.ts +3 -3
package/helper.js CHANGED
@@ -230,7 +230,7 @@ var determineExternalRequest = exports.determineExternalRequest = function deter
230
230
  since we pass an already resolved request.
231
231
  */
232
232
  var filePath = determineModuleFilePath(resolvedRequest, {}, {}, {
233
- file: extensions.file.external
233
+ file: extensions.file.external.concat(extensions.file.internal)
234
234
  }, context, requestContext, pathsToIgnore, relativeModuleLocations, packageEntryFileNames, packageMainPropertyNames, packageAliasPropertyNames, encoding);
235
235
  /*
236
236
  NOTE: We mark dependencies as external if there file couldn't be
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1605",
3
+ "version": "2.0.1606",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -124,7 +124,7 @@
124
124
  "@types/html-minifier": "^4.0.5",
125
125
  "@types/html-minifier-terser": "^7.0.2",
126
126
  "@types/imagemin": "^9.0.1",
127
- "@types/node": "^24.3.1",
127
+ "@types/node": "^24.3.3",
128
128
  "@types/postcss-import": "^14.0.3",
129
129
  "@types/postcss-url": "^10.0.4",
130
130
  "@types/webpack-env": "^1.18.8",
@@ -135,7 +135,7 @@
135
135
  "documentation-website": "^1.0.394",
136
136
  "eslint": "^9.35.0",
137
137
  "eslint-config-google": "^0.14.0",
138
- "eslint-plugin-jsdoc": "^56.1.2",
138
+ "eslint-plugin-jsdoc": "^57.0.7",
139
139
  "favicons": "^7.2.0",
140
140
  "favicons-webpack-plugin": "^6.0.1",
141
141
  "globals": "^16.4.0",
package/type.d.ts CHANGED
@@ -34,7 +34,7 @@ export interface PackageDescriptor {
34
34
  }
35
35
  export type Replacements = Mapping<SecondParameter<string['replace']>>;
36
36
  export type Resolvable = {
37
- [_K in '__evaluate__' | '__execute__']?: Resolvable;
37
+ [K in '__evaluate__' | '__execute__']?: Resolvable;
38
38
  } & Mapping<unknown>;
39
39
  export interface RedundantRequest {
40
40
  path: string;
@@ -289,7 +289,7 @@ export interface ResolvedConfiguration {
289
289
  files: {
290
290
  additionalPaths: Array<string>;
291
291
  compose: {
292
- cascadingStyleSheet: string | ((_asset: unknown) => string);
292
+ cascadingStyleSheet: string | ((asset: unknown) => string);
293
293
  image: string;
294
294
  javaScript: string;
295
295
  };
@@ -434,7 +434,7 @@ export interface GenericLoader {
434
434
  export type Loader = GenericLoader & Mapping<WebpackRuleSetRule>;
435
435
  export interface EvaluationScope {
436
436
  configuration: ResolvedConfiguration;
437
- isFilePathInDependencies: (_filePath: string) => boolean;
437
+ isFilePathInDependencies: (filePath: string) => boolean;
438
438
  loader: Loader;
439
439
  require: typeof require;
440
440
  }