diff options
| author | AAGaming <aa@bigdumb.gq> | 2022-05-20 18:13:31 -0400 |
|---|---|---|
| committer | AAGaming <aa@bigdumb.gq> | 2022-05-20 18:13:31 -0400 |
| commit | 569f8b8707636cb52d9b89278c28150d668175db (patch) | |
| tree | 28fdb066bb92b2986756c85adf8fe99fa7be1d9d /rollup.config.js | |
| parent | 5a6001026860aca724bf5aa871da93a5edabe12c (diff) | |
| download | decky-bazzite-buddy-569f8b8707636cb52d9b89278c28150d668175db.tar.gz decky-bazzite-buddy-569f8b8707636cb52d9b89278c28150d668175db.zip | |
fix dependencies, edit rollup and ts config, switch jsx runtime, use pnpm lockfiles
Diffstat (limited to 'rollup.config.js')
| -rw-r--r-- | rollup.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rollup.config.js b/rollup.config.js index 6e8c396..c43c88c 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -20,9 +20,10 @@ export default defineConfig({ context: 'window', external: ['react', 'react-dom'], output: { - file: 'dist/example-plugin.js', + file: 'dist/index.js', globals: { react: 'SP_REACT', + 'react-dom': 'SP_REACTDOM', }, format: 'iife', exports: 'default', |
