Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

test(cases): multiple entry points ordering #710

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/cases/multiple-entries-second/a.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require('./a.txt');
require('./b.txt');
require('./c.txt');
1 change: 1 addition & 0 deletions test/cases/multiple-entries-second/a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a
2 changes: 2 additions & 0 deletions test/cases/multiple-entries-second/b.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require('./b.txt');
require('./a.txt');
1 change: 1 addition & 0 deletions test/cases/multiple-entries-second/b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b
1 change: 1 addition & 0 deletions test/cases/multiple-entries-second/c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c
3 changes: 3 additions & 0 deletions test/cases/multiple-entries-second/expected/a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
a
b
c
2 changes: 2 additions & 0 deletions test/cases/multiple-entries-second/expected/b.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
b
a
11 changes: 11 additions & 0 deletions test/cases/multiple-entries-second/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import ExtractTextPlugin from '../../../src/index';

module.exports = {
entry: {
a: './a',
b: './b',
},
plugins: [
new ExtractTextPlugin('[name].txt'),
],
};