File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class PluginForHtmlWebpackPluginV3 extends BasePlugin {
18
18
// check if current html needs to be inlined
19
19
if ( this . isCurrentFileNeedsToBeInlined ( data . outputName ) ) {
20
20
const [ ...cssAssets ] = data . assets . css
21
- cssAssets . forEach ( cssLink => {
21
+ cssAssets . forEach ( ( cssLink ) => {
22
22
const style = this . getCSSStyle ( {
23
23
cssLink,
24
24
publicPath : data . assets . publicPath ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export class PluginForHtmlWebpackPluginV4 extends BasePlugin {
33
33
34
34
private prepareCSSStyle ( data : BeforeAssetTagGenerationData ) {
35
35
const [ ...cssAssets ] = data . assets . css
36
- cssAssets . forEach ( cssLink => {
36
+ cssAssets . forEach ( ( cssLink ) => {
37
37
if ( this . isCurrentFileNeedsToBeInlined ( cssLink ) ) {
38
38
const style = this . getCSSStyle ( {
39
39
cssLink,
You can’t perform that action at this time.
0 commit comments