mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-10-29 06:22:25 -05:00
Global dfl (#24)
* Initial global DFL support * Update DFL * Remove unmaintained makefile * Move to CLI * Properly extract zip files! --------- Co-authored-by: AAGaming <aa@mail.catvibers.me>
This commit is contained in:
parent
ecb45e71f1
commit
e0ec175d16
10 changed files with 399 additions and 405 deletions
|
|
@ -24,12 +24,13 @@ export default defineConfig({
|
|||
})
|
||||
],
|
||||
context: 'window',
|
||||
external: ['react', 'react-dom'],
|
||||
external: ["react", "react-dom", "decky-frontend-lib"],
|
||||
output: {
|
||||
file: 'dist/index.js',
|
||||
file: "dist/index.js",
|
||||
globals: {
|
||||
react: 'SP_REACT',
|
||||
'react-dom': 'SP_REACTDOM',
|
||||
react: "SP_REACT",
|
||||
"react-dom": "SP_REACTDOM",
|
||||
"decky-frontend-lib": "DFL"
|
||||
},
|
||||
format: 'iife',
|
||||
exports: 'default',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue