Skip to content

Commit 9f139fe

Browse files
committed
chore: format
1 parent 3c6bd02 commit 9f139fe

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/main.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import coffeescript from "rollup-plugin-coffee-script";
1010
import json from "@rollup/plugin-json";
1111
import cssOnly from "rollup-plugin-css-only";
1212
import babel from "@rollup/plugin-babel";
13-
import { wasm } from '@rollup/plugin-wasm';
13+
import { wasm } from "@rollup/plugin-wasm";
1414

1515
export type Plugin =
1616
| "js"
@@ -73,7 +73,7 @@ export function createPlugins(
7373
plugins.push(
7474
typescript({
7575
noEmitOnError: false,
76-
module: "ESNext" // do not modify the imports
76+
module: "ESNext", // do not modify the imports
7777
})
7878
);
7979
} else {
@@ -184,18 +184,16 @@ export function createPlugins(
184184
if (typeof extraPlugins !== "boolean" && extraPlugins !== undefined) {
185185
try {
186186
plugins.push(...extraPlugins);
187-
}
188-
catch (e) {
189-
console.error("You should pass extraPlugins as an array")
187+
} catch (e) {
188+
console.error("You should pass extraPlugins as an array");
190189
}
191190
}
192191

193192
if (extraPluginsDeprecated) {
194193
try {
195194
plugins.push(...extraPluginsDeprecated);
196-
}
197-
catch (e) {
198-
console.error("You should pass extraPluginsDeprecated as an array")
195+
} catch (e) {
196+
console.error("You should pass extraPluginsDeprecated as an array");
199197
}
200198
}
201199

0 commit comments

Comments
 (0)