@k3000/s1 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +0,0 @@
1
-
2
- const index = import.meta.url.indexOf('?')
3
-
4
- const url = `./1/index.mjs${index > -1 ? import.meta.url.substring(index) : ''}`
5
-
6
- let remark0, close0, getStruct0
7
-
8
- /**
9
- * @type {import('./1/type').Storage}
10
- */
11
- const storage = await new Promise((resolve, reject) => import(url)
12
- .then(modules => {
13
- remark0 = modules.remark
14
- close0 = modules.close
15
- getStruct0 = modules.getStruct
16
- resolve(modules.default)
17
- }).catch(error => reject(error)))
18
-
19
- export const remark = remark0
20
- export const close = close0
21
- export const getStruct = getStruct0
22
-
23
- export default storage