Skip to content

Commit

Permalink
re-add global DFL
Browse files Browse the repository at this point in the history
  • Loading branch information
beebls committed Dec 16, 2023
1 parent c34cc2c commit 7f625d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ export default defineConfig({
}),
],
context: "window",
external: ["react", "react-dom"],
external: ["react", "react-dom", "decky-frontend-lib"],
output: {
file: "dist/index.js",
globals: {
react: "SP_REACT",
"react-dom": "SP_REACTDOM",
// "decky-frontend-lib": "DFL",
"decky-frontend-lib": "DFL",
},
format: "iife",
exports: "default",
Expand Down

0 comments on commit 7f625d8

Please sign in to comment.