@everymatrix/lottery-ticket 0.1.5 → 0.1.6

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.
@@ -8,5 +8,11 @@
8
8
  "typescriptVersion": "4.5.4"
9
9
  },
10
10
  "collections": [],
11
- "bundles": []
11
+ "bundles": [
12
+ {
13
+ "components": [
14
+ "lottery-ticket"
15
+ ]
16
+ }
17
+ ]
12
18
  }
@@ -193,6 +193,7 @@ function defineCustomElement$1() {
193
193
  break;
194
194
  } });
195
195
  }
196
+ defineCustomElement$1();
196
197
 
197
198
  const LotteryTicket = LotteryTicket$1;
198
199
  const defineCustomElement = defineCustomElement$1;
@@ -3,12 +3,15 @@ export const config = {
3
3
  namespace: 'lottery-ticket',
4
4
  taskQueue: 'async',
5
5
  plugins: [sass()],
6
+ bundles: [{ components: ['lottery-ticket'] }],
6
7
  outputTargets: [
7
8
  {
8
9
  type: 'dist',
9
10
  esmLoaderPath: '../loader',
10
11
  },
11
12
  {
13
+ autoDefineCustomElements: true,
14
+ generateTypeDeclarations: true,
12
15
  type: 'dist-custom-elements',
13
16
  },
14
17
  {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-ticket",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "main": "./dist/index.cjs.js",
5
- "module": "./dist/index.js",
5
+ "module": "./dist/components/lottery-ticket.js",
6
6
  "es2015": "./dist/esm/index.mjs",
7
7
  "es2017": "./dist/esm/index.mjs",
8
8
  "types": "./dist/types/index.d.ts",