Skip to content

Commit 8dcfb65

Browse files
committed
chore: code format 🍒
1 parent d6e2f06 commit 8dcfb65

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/minify.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,15 @@ export class ParcelCssMinifyPlugin {
2424
private readonly transform: TransformType
2525

2626
constructor(opts: IMinifyPluginOpts = {}) {
27-
const { implementation, ...otherOpts } = opts
27+
const { implementation, ...otherOpts } = opts
2828
if (implementation && typeof implementation.transform !== 'function') {
2929
throw new TypeError(
3030
`[ParcelCssMinifyPlugin]: implementation.transform must be an '@parcel/css' transform function. Received ${typeof implementation.transform}`
3131
)
3232
}
3333

3434
this.transform = implementation?.transform ?? _transform
35-
this.options = {
36-
...otherOpts
37-
}
35+
this.options = otherOpts
3836
}
3937

4038
apply(compiler: Compiler) {

0 commit comments

Comments
 (0)