@esportsplus/ui 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -19,20 +19,21 @@
19
19
  "webpack": "^5.100.1"
20
20
  },
21
21
  "exports": {
22
- "./components/*": "./src/components/*",
22
+ "./components": "./src/components/index.ts",
23
+ "./lib": "./lib.scss",
24
+ "./tokens": "./tokens.scss",
23
25
  ".": "./src/index.ts"
24
26
  },
25
- "main": "build/index.js",
26
27
  "name": "@esportsplus/ui",
27
28
  "private": false,
28
29
  "sideEffects": false,
29
30
  "type": "module",
30
- "types": "build/index.d.ts",
31
- "version": "0.8.3",
31
+ "version": "0.8.4",
32
32
  "scripts": {
33
33
  "build": "pnpm build:ts && pnpm build:assets",
34
34
  "build:ts": "tsc && tsc-alias",
35
35
  "build:assets": "webpack build --env=production=true",
36
- "-": "-"
36
+ "-": "-",
37
+ "prepublishOnly2": "pnpm build"
37
38
  }
38
39
  }
@@ -1,6 +1,6 @@
1
1
  import { html } from '@esportsplus/template';
2
- import { onclick } from '~/components/root';
3
- import scrollbar from '~/components/scrollbar';
2
+ import { onclick } from '../root';
3
+ import scrollbar from '../scrollbar';
4
4
 
5
5
 
6
6
  type Data = {
@@ -1,5 +1,5 @@
1
1
  import { reactive } from '@esportsplus/reactivity';
2
- import root from '~/components/root';
2
+ import root from '../root';
3
3
 
4
4
 
5
5
  let queue: (VoidFunction | (() => Promise<void>))[] = [],