Skip to content

Commit 9128abc

Browse files
committed
Expose html-to-image to window for experimentation
1 parent 896230f commit 9128abc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/javascript/entrypoints/application.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import debug from 'debug';
22

33
import '@hotwired/turbo-rails';
4+
import * as htmlToImage from 'html-to-image';
5+
46
import '../controllers';
57

68
import {
@@ -47,3 +49,5 @@ registerServiceWorker();
4749
turboScrollSmoothWorkaround();
4850

4951
window.channels = channels;
52+
53+
window.htmlToImage = htmlToImage;

0 commit comments

Comments
 (0)