Skip to content

Commit 03262c9

Browse files
committed
chore: prettier code
1 parent 163b048 commit 03262c9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/core/base-plugin.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ export class BasePlugin {
8484

8585
if (html.indexOf(this.replaceConfig.target) === -1) {
8686
throw new Error(
87-
`Can not inject css style into "${htmlFileName}", as there is not replace target "${
88-
this.replaceConfig.target
89-
}"`,
87+
`Can not inject css style into "${htmlFileName}", as there is not replace target "${this.replaceConfig.target}"`,
9088
)
9189
}
9290

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ import {
77

88
const isHTMLWebpackPluginV4 = 'getHooks' in HTMLWebpackPlugin
99

10-
export default (isHTMLWebpackPluginV4
10+
export default isHTMLWebpackPluginV4
1111
? PluginForHtmlWebpackPluginV4
12-
: PluginForHtmlWebpackPluginV3)
12+
: PluginForHtmlWebpackPluginV3

0 commit comments

Comments
 (0)