forked from webpack-contrib/mini-css-extract-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwarnings.js
27 lines (26 loc) · 1.22 KB
/
warnings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const cssLoaderPath = require.resolve('css-loader').replace(/\\/g, '/');
module.exports = [
'',
'WARNING in chunk styles [mini-css-extract-plugin]',
'Conflicting order. Following module has been added:',
` * css ${cssLoaderPath}!./e1.css`,
'despite it was not able to fulfill desired ordering with these modules:',
` * css ${cssLoaderPath}!./e2.css`,
" - couldn't fulfill desired order of chunk group(s) entry2",
'',
'WARNING in chunk styles [mini-css-extract-plugin]',
'Conflicting order. Following module has been added:',
` * css ${cssLoaderPath}!./e4.css`,
'despite it was not able to fulfill desired ordering with these modules:',
` * css ${cssLoaderPath}!./e3.css`,
" - couldn't fulfill desired order of chunk group(s) entry3",
' - while fulfilling desired order of chunk group(s) entry4',
'',
'WARNING in chunk styles [mini-css-extract-plugin]',
'Conflicting order. Following module has been added:',
` * css ${cssLoaderPath}!./e2.css`,
'despite it was not able to fulfill desired ordering with these modules:',
` * css ${cssLoaderPath}!./e3.css`,
" - couldn't fulfill desired order of chunk group(s) entry3",
' - while fulfilling desired order of chunk group(s) entry4',
].join('\n');