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:
TrainDoctor 2023-06-03 07:42:27 -07:00 committed by GitHub
commit e0ec175d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 399 additions and 405 deletions

View file

@ -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',