• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

webpack-config / webpack-partial
100%
master: 98%

Build:
Build:
LAST BUILD BRANCH: webpack-4
DEFAULT BRANCH: master
Repo Added 25 Jan 2016 08:10AM UTC
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH advanced-loader
branch: advanced-loader
CHANGE BRANCH
x
Reset
  • advanced-loader
  • alias
  • autopack-loaders
  • bump-version
  • eslint
  • fix-deep-merge
  • loader-helper
  • master
  • merge
  • output
  • plugin
  • root
  • root-build
  • tap
  • update-lodash
  • update-readme
  • updates
  • webpack-4
  • webpack1-compat
  • webpack2

pending completion
170

push

travis-ci

izaakschroeder
Advanced loader utility functions.

Add `append`, `prepend`, `find`, `remove` and `update` to loader utilities which allow you to modify the loaders in an existing `webpack` configuration as well as control the order in which they are added.

```js
// Typical setup.
const x = loader({loader: 'my-loader'});
const config = x({});

// Can now modify.
const updateExclude = loader.update(
  ({loader}) => loader === 'my-loader',
  (loader) => ({
    ...loader,
    exclude: /bar/,
  }
));
const newConfig = updateExclude(config);
```

Also supports functions as loader generators which allow you to generate your loader based off the current `webpack` configuration.

```js
const x = loader((config) => {
  return {
    loader: 'foo-loader',
    query: {path: config.output.publicPath},
  };
});
```

40 of 40 branches covered (100.0%)

159 of 159 relevant lines covered (100.0%)

3.19 hits per line

Relevant lines Covered
Build:
Build:
159 RELEVANT LINES 159 COVERED LINES
3.19 HITS PER LINE
Source Files on advanced-loader
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
170 advanced-loader Advanced loader utility functions. Add `append`, `prepend`, `find`, `remove` and `update` to loader utilities which allow you to modify the loaders in an existing `webpack` configuration as well as control the order in which they are added. ```j... push 26 May 2017 12:35AM UTC izaakschroeder travis-ci pending completion  
168 advanced-loader Advanced loader utility functions. Add `append`, `prepend`, `find`, `remove` and `update` to loader utilities which allow you to modify the loaders in an existing `webpack` configuration as well as control the order in which they are added. ```j... push 26 May 2017 12:33AM UTC izaakschroeder travis-ci pending completion  
164 advanced-loader Add `append`, `prepend`, `find`, `remove` and `update` to loader utilities. This allows you to transform loaders that already exist in your webpack configuration as well as control the order the loaders get added into the configuration. push 26 May 2017 12:30AM UTC izaakschroeder travis-ci pending completion  
162 advanced-loader wip push 26 May 2017 12:26AM UTC izaakschroeder travis-ci pending completion  
160 advanced-loader Support functions as loader generators. Allow loaders to be generated from functions instead of just objects. push 14 Mar 2017 11:46PM UTC izaakschroeder travis-ci pending completion  
158 advanced-loader Support functions as loader generators. Allow loaders to be generated from functions instead of just objects. push 14 Mar 2017 11:38PM UTC izaakschroeder travis-ci pending completion  
156 advanced-loader Support functions as loader generators. Allow loaders to be generated from functions instead of just objects. push 14 Mar 2017 11:32PM UTC izaakschroeder travis-ci pending completion  
154 advanced-loader Update id gen logic. push 14 Mar 2017 11:17PM UTC izaakschroeder travis-ci pending completion  
153 advanced-loader Instance support. push 14 Mar 2017 11:12PM UTC izaakschroeder travis-ci pending completion  
152 advanced-loader Support functions as loader generators. Allow loaders to be generated from functions instead of just objects. push 14 Mar 2017 10:54PM UTC izaakschroeder travis-ci pending completion  
See All Builds (142)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc