mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 03:32:23 +03:00
Use more granular imports
This commit is contained in:
parent
2edd2c16d9
commit
1a0d089af2
@ -8,7 +8,7 @@ import { useGraphStore, type NodeId } from '@/stores/graph'
|
||||
import { Ast } from '@/util/ast'
|
||||
import { isAstId, type AstId } from '@/util/ast/abstract.ts'
|
||||
import { Vec2 } from '@/util/data/vec2'
|
||||
import { toast } from 'enso-dashboard'
|
||||
import { toast } from 'enso-dashboard/Toast'
|
||||
|
||||
const graph = useGraphStore()
|
||||
const selection = injectGraphSelection(true)
|
||||
|
@ -1,5 +1,5 @@
|
||||
import type { ResultError } from '@/util/data/result'
|
||||
import { toast, type ToastKind, type ToastOptions } from 'enso-dashboard'
|
||||
import { toast, type ToastKind, type ToastOptions } from 'enso-dashboard/Toast'
|
||||
import { uuidv4 } from 'lib0/random'
|
||||
import { onScopeDispose } from 'vue'
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
"#/*": "./src/*"
|
||||
},
|
||||
"exports": {
|
||||
"./Toast": "./src/components/Toast/index.ts",
|
||||
".": "./src/index.tsx",
|
||||
"./tailwind.config": "./tailwind.config.js",
|
||||
"./src/platform": "./src/platform.ts",
|
||||
|
Loading…
Reference in New Issue
Block a user