chore: fix template

pull/55/head
Jonas Kruckenberg 2 years ago
parent 5966b7d133
commit 84133c9db7

@ -1 +0,0 @@
../../../shared/tsconfig.json

@ -6,13 +6,13 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "dist/index.min.js", "browser": "guest-js/dist/index.min.js",
"module": "dist/index.mjs", "module": "guest-js/dist/index.mjs",
"types": "dist/index.d.ts", "types": "guest-js/dist/index.d.ts",
"exports": { "exports": {
"import": "./dist/index.mjs", "import": "./guest-js/dist/index.mjs",
"types": "./dist/index.d.ts", "types": "./guest-js/dist/index.d.ts",
"browser": "./dist/index.min.js" "browser": "./guest-js/dist/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"

@ -1,8 +1,9 @@
import { readFileSync } from "fs"; import { readFileSync } from "fs";
import { createConfig } from "../../../shared/rollup.config.mjs"; import { createConfig } from "../rollup.config.mjs";
export default createConfig({ export default createConfig({
input: 'guest-js/index.ts',
pkg: JSON.parse( pkg: JSON.parse(
readFileSync(new URL("./package.json", import.meta.url), "utf8") readFileSync(new URL("./package.json", import.meta.url), "utf8")
), ),

@ -0,0 +1 @@
../tsconfig.json
Loading…
Cancel
Save