Skip to content

Commit

Permalink
turn the cacheable on
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaslee119 authored and 李 立 committed Sep 29, 2017
1 parent 54ddb75 commit f78bea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const loaderUtils = require('loader-utils');
const core = require('./lib/core');

module.exports = function (source) {
this.cacheable();
const options = loaderUtils.getOptions(this);
const extractor = options.extractor;
const injector = options.injector;
Expand Down

0 comments on commit f78bea7

Please sign in to comment.