Skip to content

Commit

Permalink
Merge pull request #505 from ckeditor/rename-global-name
Browse files Browse the repository at this point in the history
Fix: Change the global name used in the UMD build from `CKEditor` to `CKEDITOR_REACT` to match the new convention. See ckeditor/ckeditor5#16736.

MINOR BREAKING CHANGE: Change the global name used in the UMD build from `CKEditor` to `CKEDITOR_REACT`.
  • Loading branch information
pomek authored Jul 17, 2024
2 parents e65de14 + 6dfcde0 commit 51c6037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default defineConfig( {
// https://vitejs.dev/guide/build#library-mode
lib: {
entry: resolve( __dirname, 'src/index.ts' ),
name: 'CKEditor',
name: 'CKEDITOR_REACT',
fileName: 'index'
},

Expand Down

0 comments on commit 51c6037

Please sign in to comment.