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"
],
"type": "module",
"browser": "dist/index.min.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"browser": "./dist/index.min.js"
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
},
"scripts": {
"build": "rollup -c"

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

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