@plantandgo/web-components 2.1.8 → 2.1.10

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.
Files changed (2) hide show
  1. package/package.json +11 -6
  2. package/types/index.d.ts +1 -0
package/package.json CHANGED
@@ -1,14 +1,19 @@
1
1
  {
2
2
  "name": "@plantandgo/web-components",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
4
4
  "type": "module",
5
- "main": "./web-components.umd.js",
6
- "module": "./web-components.es.js",
5
+ "main": "./wc/web-components.umd.js",
6
+ "module": "./wc/web-components.es.js",
7
7
  "types": "./types/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "import": "./web-components.es.js",
11
- "require": "./web-components.umd.js"
10
+ "import": "./wc/web-components.es.js",
11
+ "require": "./wc/web-components.umd.js",
12
+ "types": "./types/index.d.ts"
12
13
  }
13
- }
14
+ },
15
+ "sideEffects": [
16
+ "./wc/web-components.es.js",
17
+ "./wc/web-components.umd.js"
18
+ ]
14
19
  }
package/types/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './web-components';
2
2
  export * from './components/CustomButton/CustomButton';
3
3
  export * from './components/CustomInput/CustomInput';
4
+ export { CustomButtonWC, CustomInputWC } from './web-components';
4
5
  export declare const CUSTOM_BUTTON_TAG = "custom-button";
5
6
  export declare const CUSTOM_INPUT_TAG = "custom-input";