mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: fix webpack js-yaml resolve
This commit is contained in:
1 parent
d0569a6816
commit
e4c6cf258d
4 files changed
+15
-3
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user