diff options
| author | TrainDoctor <11465594+TrainDoctor@users.noreply.github.com> | 2023-06-03 07:42:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-03 07:42:27 -0700 |
| commit | e0ec175d16156f50b87374c14d8c9ee9f2c613a0 (patch) | |
| tree | 1f363df3d602ed4729774582d6ef85e1a29745e6 /rollup.config.js | |
| parent | ecb45e71f1123f13ef29c06b71ee6c0a4e193e19 (diff) | |
| download | decky-bazzite-buddy-e0ec175d16156f50b87374c14d8c9ee9f2c613a0.tar.gz decky-bazzite-buddy-e0ec175d16156f50b87374c14d8c9ee9f2c613a0.zip | |
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>
Diffstat (limited to 'rollup.config.js')
| -rw-r--r-- | rollup.config.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rollup.config.js b/rollup.config.js index 8717908..f11a008 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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', |
