Skip to content

Commit 24fa063

Browse files
committed
fix: remove deprecated createConfig function
BREAKING CHANGE previously deprecated `createConfig` was removed
1 parent c7dc5ce commit 24fa063

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/main.ts

-23
Original file line numberDiff line numberDiff line change
@@ -250,26 +250,3 @@ export function createPlugins(
250250

251251
return plugins
252252
}
253-
254-
/** @deprecated Use default Rollup syntax - this function will be removed in the next major version */
255-
export function createConfig(
256-
input: string | Array<string> = "src/main.ts",
257-
output_dir: string = "dist",
258-
output_format = "cjs",
259-
externals: Array<string> = ["atom", "electron"],
260-
plugins = createPlugins()
261-
) {
262-
return {
263-
input: input,
264-
output: [
265-
{
266-
dir: output_dir,
267-
format: output_format,
268-
sourcemap: true,
269-
},
270-
],
271-
// loaded externally
272-
external: externals,
273-
plugins: plugins,
274-
}
275-
}

0 commit comments

Comments
 (0)