diff options
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', |
