9 lines
286 B
JavaScript
9 lines
286 B
JavaScript
/** @type {import("../../../../").PitchLoaderDefinitionFunction} */
|
|
exports.pitch = async function (remaining) {
|
|
const result = await this.importModule(
|
|
this.resourcePath + ".webpack[javascript/auto]" + "!=!" + remaining,
|
|
this.getOptions()
|
|
);
|
|
return result.default || result;
|
|
};
|