Skip to content

Commit

Permalink
Merge pull request #10 from mzino/global-dfl
Browse files Browse the repository at this point in the history
Global DFL
  • Loading branch information
mcarlucci authored Feb 13, 2024
2 parents 3515a3a + fdaa287 commit 2449363
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
globals: {
react: 'SP_REACT',
'react-dom': 'SP_REACTDOM',
'decky-frontend-lib': 'DFL'
},
format: 'iife',
exports: 'default',
Expand Down

0 comments on commit 2449363

Please sign in to comment.