This commit is contained in:
thatn3wguy 2017-03-12 12:19:48 -04:00
parent 9d10f41486
commit 5816c9dc60
5 changed files with 21 additions and 1 deletions

View File

@ -4,6 +4,5 @@ it("should watch for changes", function() {
STATS_JSON.modules[0].prefetched.should.be.true();
STATS_JSON.modules[1].prefetched.should.be.true();
STATS_JSON.modules[2].prefetched.should.be.true();
}
});

View File

@ -0,0 +1,5 @@
var a = require("./a");
var b = require("./b");
var c = require("./c");
module.exports = a + b + c + '.1';

View File

@ -0,0 +1,5 @@
var a = require("./a");
var b = require("./b");
var c = require("./c");
module.exports = a + b + c + '.2';

View File

@ -0,0 +1,5 @@
var a = require("./a");
var b = require("./b");
var c = require("./c");
module.exports = a + b + c + '.3';

View File

@ -0,0 +1,6 @@
var webpack = require("../../../../");
module.exports = {
plugins: [
new webpack.AutomaticPrefetchPlugin()
]
};