feat(process): add plugin (#348)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-09 12:00:44 -03:00
committed by GitHub
parent 61e7d6ede5
commit 012d32e8ed
19 changed files with 440 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
import { readFileSync } from "fs";
import { createConfig } from "../../shared/rollup.config.mjs";
export default createConfig({
input: "guest-js/index.ts",
pkg: JSON.parse(
readFileSync(new URL("./package.json", import.meta.url), "utf8")
),
external: [/^@tauri-apps\/api/],
});