- Move web app into apps/web/ - Create packages/shared/ with shared types - Create plugins/decky-vault/ scaffold - Root package.json manages workspaces only
20 lines
355 B
JavaScript
20 lines
355 B
JavaScript
import typescript from "@rollup/plugin-typescript"
|
|
import commonjs from "@rollup/plugin-commonjs"
|
|
|
|
export default {
|
|
input: "src/index.tsx",
|
|
output: {
|
|
file: "dist/index.js",
|
|
format: "esm",
|
|
sourcemap: false,
|
|
},
|
|
plugins: [
|
|
typescript(),
|
|
commonjs(),
|
|
],
|
|
external: [
|
|
"react",
|
|
"react-dom",
|
|
"@deckyvault/shared",
|
|
],
|
|
} |