This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Description
- Operating System:
- Node Version:
- NPM Version:
- webpack Version:
- val-loader Version:
This issue is for a:
Return Object Properties
Targeted modules of this loader must export either a Function or Promise that returns an object containing a code property at a minimum, but can contain any number of additional properties.
The part "export either a Function or Promise that" seems misleading.While checking loader source code I noticed that it expects function that returns object code or Promise. As I suspected passing returning promise in module export generates errors