Skip to content

Commit

Permalink
feat(common): export Reveal object in the final bundle
Browse files Browse the repository at this point in the history
closes #19
  • Loading branch information
kuroidoruido authored and jefBinomed committed Sep 20, 2024
1 parent b7e43c8 commit 89b4337
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion demo/scripts/slides.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { ThemeInitializer } from '../web_modules/talk-control-revealjs-extensions/talk-control-revealjs-extensions.js';
import {
Reveal,
ThemeInitializer,
} from '../web_modules/talk-control-revealjs-extensions/talk-control-revealjs-extensions.js';

console.log('Reveal version', Reveal.VERSION);
console.log('Reveal instance', Reveal);

// One method per module
function schoolSlides() {
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ import './index.scss';
export * from './my-element';

export * from './theme-initializer';

export { default as Reveal } from 'reveal.js';

0 comments on commit 89b4337

Please sign in to comment.