@duyluonganduin/acl-web-components 0.0.20 → 0.0.21

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyluonganduin/acl-web-components",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "type": "module",
5
5
  "main": "./dist/acl-web-components.cjs",
6
6
  "module": "./dist/acl-web-components.js",
@@ -10,6 +10,7 @@
10
10
  "import": "./dist/acl-web-components.js",
11
11
  "require": "./dist/acl-web-components.cjs"
12
12
  },
13
+ "./iife": "./dist/acl-web-components.iife.js",
13
14
  "./tokens.css": {
14
15
  "style": "./dist/tokens.css",
15
16
  "default": "./dist/tokens.css"
@@ -50,8 +51,8 @@
50
51
  "access": "public"
51
52
  },
52
53
  "scripts": {
53
- "prepare": "tsc -p tsconfig.build.json && vite build && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/jsx.d.ts dist/jsx.d.ts",
54
- "build": "tsc -p tsconfig.build.json && vite build && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/jsx.d.ts dist/jsx.d.ts",
54
+ "prepare": "tsc -p tsconfig.build.json && vite build && vite build --config vite.iife.config.ts && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/jsx.d.ts dist/jsx.d.ts",
55
+ "build": "tsc -p tsconfig.build.json && vite build && vite build --config vite.iife.config.ts && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/jsx.d.ts dist/jsx.d.ts",
55
56
  "storybook": "storybook dev -p 6006",
56
57
  "build-storybook": "storybook build"
57
58
  },