Skip to content

Commit

Permalink
Global DFL
Browse files Browse the repository at this point in the history
  • Loading branch information
mzino authored Feb 13, 2024
1 parent 3515a3a commit fdaa287
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 fdaa287

Please sign in to comment.