mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
refactor(editor): Move editor-ui and design-system to frontend dir (no-changelog) (#13564)
This commit is contained in:
7
packages/frontend/editor-ui/src/polyfills.ts
Normal file
7
packages/frontend/editor-ui/src/polyfills.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import 'array.prototype.tosorted';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
|
||||
// Polyfill crypto.randomUUID
|
||||
if (!('randomUUID' in crypto)) {
|
||||
Object.defineProperty(crypto, 'randomUUID', { value: uuid });
|
||||
}
|
||||
Reference in New Issue
Block a user