Pass yaml library to frontend

0599b91609704d74d7d6918ec48c2946cb4c96c9

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -0Showing whitespace changes
public/lib.js+3 -0
@@ -21,6 +21,7 @@ import droll from 'droll';
2121import morphdom from 'morphdom';
2222import { toggle as slideToggle } from 'slidetoggle';
2323import chalk from 'chalk';
24+import yaml from 'yaml';
2425
2526/**
2627 * Expose the libraries to the 'window' object.
@@ -98,6 +99,7 @@ export default {
9899 morphdom,
99100 slideToggle,
100101 chalk,
102+ yaml,
101103};
102104
103105export {
@@ -121,4 +123,5 @@ export {
121123 morphdom,
122124 slideToggle,
123125 chalk,
126+ yaml,
124127};