File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import coffeescript from "rollup-plugin-coffee-script";
1010import json from "@rollup/plugin-json" ;
1111import cssOnly from "rollup-plugin-css-only" ;
1212import babel from "@rollup/plugin-babel" ;
13- import { wasm } from ' @rollup/plugin-wasm' ;
13+ import { wasm } from " @rollup/plugin-wasm" ;
1414
1515export 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
You can’t perform that action at this time.
0 commit comments