mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-10-29 06:22:25 -05:00
fix dependencies, edit rollup and ts config, switch jsx runtime, use pnpm lockfiles
This commit is contained in:
parent
5a60010268
commit
569f8b8707
7 changed files with 884 additions and 2513 deletions
|
|
@ -20,9 +20,10 @@ export default defineConfig({
|
|||
context: 'window',
|
||||
external: ['react', 'react-dom'],
|
||||
output: {
|
||||
file: 'dist/example-plugin.js',
|
||||
file: 'dist/index.js',
|
||||
globals: {
|
||||
react: 'SP_REACT',
|
||||
'react-dom': 'SP_REACTDOM',
|
||||
},
|
||||
format: 'iife',
|
||||
exports: 'default',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue