File tree Expand file tree Collapse file tree 7 files changed +1672
-2079
lines changed Expand file tree Collapse file tree 7 files changed +1672
-2079
lines changed Original file line number Diff line number Diff line change 1
1
example /
2
2
test /
3
3
.gitattributes
4
+ .git
5
+ .github
6
+ coverage /
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file. See [ standard-version] ( https://github.com/conventional-changelog/standard-version ) for commit guidelines.
4
4
5
+ ## [ 4.9.0] ( https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/compare/v4.8.0...v4.9.0 ) (2020-12-07)
6
+
7
+
8
+ ### Features
9
+
10
+ * adding federated stats ([ #303 ] ( https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/303 ) ) ([ c17d755] ( https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/commit/c17d75547a5efb5971d03555163ea4d685080706 ) )
11
+ * adding federated stats ([ #304 ] ( https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/304 ) ) ([ 1eab2d0] ( https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/commit/1eab2d0b8868837de8f89f68c1ad14be741f3e78 ) )
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * Check if bestMatch exists before pop() ([ #294 ] ( https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/294 ) ) ([ ef82da9] ( https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/commit/ef82da9068bd699344774d39f61b7ead8cf682cb ) )
17
+
5
18
### [ 0.9.0] ( https://github.com/webpack-contrib/extract-css-chunks-webpack-plugin/compare/v0.8.2...v0.9.0 ) (2019-12-20)
6
19
7
20
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @prepair/extract-css-chunks-webpack-plugin" ,
3
- "version" : " 4.8.2 " ,
3
+ "version" : " 4.9.1 " ,
4
4
"description" : " Extract CSS from chunks into stylesheets + HMR. Supports Webpack 4 + SSR" ,
5
5
"license" : " MIT" ,
6
6
"author" : " James Gillmore <james@faceyspacey.com>" ,
70
70
"loader-utils" : " ^2.0.0" ,
71
71
"normalize-url" : " 1.9.1" ,
72
72
"schema-utils" : " ^1.0.0" ,
73
- "webpack-external-import" : " ^2.2.4" ,
74
73
"webpack-sources" : " ^1.1.0"
75
74
},
76
75
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -523,6 +523,7 @@ class ExtractCssChunksPlugin {
523
523
// no module found => there is a conflict
524
524
// use list with fewest failed deps
525
525
// and emit a warning
526
+ if ( ! bestMatch ) break ;
526
527
const fallbackModule = bestMatch . pop ( ) ;
527
528
528
529
if ( ! this . options . ignoreOrder ) {
Original file line number Diff line number Diff line change 84
84
/******/ // extract-css-chunks-webpack-plugin CSS loading
85
85
/******/ var supportsPreload = ( function ( ) { try { return document . createElement ( "link" ) . relList . supports ( "preload" ) ; } catch ( e ) { return false ; } } ( ) ) ;
86
86
/******/ var cssChunks = { "1" :1 } ;
87
+ /******/ var processLinkHref = function ( x ) {
88
+ /******/ return x ;
89
+ /******/ } ;
87
90
/******/ if ( installedCssChunks [ chunkId ] ) promises . push ( installedCssChunks [ chunkId ] ) ;
88
91
/******/ else if ( installedCssChunks [ chunkId ] !== 0 && cssChunks [ chunkId ] ) {
89
92
/******/ promises . push ( installedCssChunks [ chunkId ] = new Promise ( function ( resolve , reject ) {
90
- /******/ var processLinkHref = function ( x ) {
91
- /******/ return x ;
92
- /******/ } ;
93
93
/******/ var href = "" + chunkId + ".css" ;
94
94
/******/ var fullhref = processLinkHref ( __webpack_require__ . p + href ) ;
95
95
/******/ var existingLinkTags = document . getElementsByTagName ( "link" ) ;
131
131
/******/ installedCssChunks [ chunkId ] = 0 ;
132
132
/******/ if ( supportsPreload ) {
133
133
/******/ var execLinkTag = document . createElement ( "link" ) ;
134
- /******/ execLinkTag . href = __webpack_require__ . p + "" + chunkId + ".css" ;
134
+ /******/ execLinkTag . href = processLinkHref ( __webpack_require__ . p + "" + chunkId + ".css" ) ;
135
135
/******/ execLinkTag . rel = "stylesheet" ;
136
136
/******/ execLinkTag . type = "text/css" ;
137
137
/******/ document . body . appendChild ( execLinkTag ) ;
Original file line number Diff line number Diff line change 84
84
/******/ // extract-css-chunks-webpack-plugin CSS loading
85
85
/******/ var supportsPreload = ( function ( ) { try { return document . createElement ( "link" ) . relList . supports ( "preload" ) ; } catch ( e ) { return false ; } } ( ) ) ;
86
86
/******/ var cssChunks = { "1" :1 } ;
87
+ /******/ var processLinkHref = function ( x ) {
88
+ /******/ return x ;
89
+ /******/ } ;
87
90
/******/ if ( installedCssChunks [ chunkId ] ) promises . push ( installedCssChunks [ chunkId ] ) ;
88
91
/******/ else if ( installedCssChunks [ chunkId ] !== 0 && cssChunks [ chunkId ] ) {
89
92
/******/ promises . push ( installedCssChunks [ chunkId ] = new Promise ( function ( resolve , reject ) {
90
- /******/ var processLinkHref = function ( x ) {
91
- /******/ return x ;
92
- /******/ } ;
93
93
/******/ var href = "" + chunkId + ".css" ;
94
94
/******/ var fullhref = processLinkHref ( __webpack_require__ . p + href ) ;
95
95
/******/ var existingLinkTags = document . getElementsByTagName ( "link" ) ;
125
125
/******/ installedCssChunks [ chunkId ] = 0 ;
126
126
/******/ if ( supportsPreload ) {
127
127
/******/ var execLinkTag = document . createElement ( "link" ) ;
128
- /******/ execLinkTag . href = __webpack_require__ . p + "" + chunkId + ".css" ;
128
+ /******/ execLinkTag . href = processLinkHref ( __webpack_require__ . p + "" + chunkId + ".css" ) ;
129
129
/******/ execLinkTag . rel = "stylesheet" ;
130
130
/******/ execLinkTag . type = "text/css" ;
131
131
/******/ document . body . appendChild ( execLinkTag ) ;
You can’t perform that action at this time.
0 commit comments