loader-runner
loader-runner copied to clipboard
Runs (webpack) loaders
Hey there! I was using the lib and discovered that `result.result` that I get is an array. But README says: ``` // result.result: Buffer | String // The result //...
Webpack loaders have access to `this.resolve`. This is missing in the loader-runner tool. https://webpack.js.org/api/loaders/#thisresolve
It would be great if there was a way to store some meta data related to the compiled resource across the whole stack of loaders. I'm trying to parse front-matter...
Hi, I'm running into this issue when trying to load a file from inside the loader: `ReferenceError: fs is not defined 35 | console.log(this.getDependencies()); 36 | > 37 | fs.readFile(fileToSearch,...
Hey, looking to contribute to this! Does any of this codebase require refactoring to ES6?
I have a ES6 angular 13 project that runs `angular-cli` with `customWebpackConfig` ES6 script: angular.json: ``` "customWebpackConfig": { "path": "./custom-webpack.config.mjs" }, ``` custom-webpack.config.mjs ``` import path from 'path'; import webpack...
this will allow us to use `loader-runner` when we have custom loader resolution options via `resolveLoader`
As mentioned in the title, attempting to use caching to cache imported modules in an attempt to improve performance a bit
If you pass loader options that have a function within them, something like ``` { loader: 'css-loader', options: { url: { filter: (url) => { if (url.includes('abc')) { return false;...
Bumps [minimist](https://github.com/minimistjs/minimist) to 1.2.8 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `minimist` from 0.0.8 to 1.2.8 Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09...