We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ad54a0 commit 3080fd9Copy full SHA for 3080fd9
app-config-webpack/src/loader.ts
@@ -1,5 +1,5 @@
1
import * as wp from 'webpack';
2
-import { getOptions, stringifyRequest } from 'loader-utils';
+import { getOptions } from 'loader-utils';
3
import { loadValidatedConfig } from '@app-config/main';
4
import type { Options } from './index';
5
@@ -14,7 +14,7 @@ const loader: wp.loader.Loader = function AppConfigLoader() {
14
loadValidatedConfig(loading, schemaLoading)
15
.then(({ fullConfig, filePaths, validationFunctionCode }) => {
16
if (filePaths) {
17
- filePaths.forEach((filePath) => this.addDependency(stringifyRequest(this, filePath)));
+ filePaths.forEach((filePath) => this.addDependency(filePath));
18
}
19
20
const generateText = (config: string) => {
0 commit comments