mattlewis92 / webpack-retry-chunk-load-plugin

A webpack plugin to retry loading of chunks that failed to load
MIT License
238 stars 45 forks source link

conflict with mini-css-extract-plugin < 0.10.0 #31

Open jansenchan opened 3 years ago

jansenchan commented 3 years ago

when i use the fllow plugins:

I got this error:

image

image

please add semicolon to prevent the conflict, like:

return (
  ';' 
  + source 
  + prettier.format(script, { 
    trailingComma: 'es5', 
    singleQuote: true, 
    parser: 'babel' 
  })
  + ';'
);
bluthen commented 1 year ago

Related to #53 mini-css-extract-plugin 0.9.0 is missing a semicolon. It looks like the semicolon is there in their latest 2.7.6. Not sure what the lowest version it was added in, but it seems fixed in a newer version of mini-css-extract-plugin.