ui: fix webpack js-yaml resolve

This commit is contained in:
undefined committed 2021-05-20 22:16:22 +08:00
1 parent d0569a6816
commit e4c6cf258d
4 files changed
+15 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
// eslint-disable-next-line import/no-unresolved
import yaml, { Schema } from 'real-js-yaml';
Schema.create = (arg1, arg2) => new Schema(arg1, arg2);
// eslint-disable-next-line import/no-unresolved
export * from 'real-js-yaml';
export default yaml;