From 6053244cd8716e459469f8a7912ff4bf946fb70f Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 6 Jan 2021 12:41:01 -0500 Subject: [PATCH] Move custom elements bundle --- package.json | 4 ++-- stencil.config.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4b04e14e8..a0f795e44 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,13 @@ "author": "Cory LaViska", "license": "MIT", "main": "dist/index.cjs.js", - "module": "dist/custom-elements/index.js", + "module": "dist/custom-elements-bundle/index.js", "es2015": "dist/esm/index.js", "es2017": "dist/esm/index.js", "jsnext:main": "dist/esm/index.js", "collection": "dist/collection/collection-manifest.json", "collection:main": "dist/collection/index.js", - "types": "dist/custom-elements/index.d.ts", + "types": "dist/custom-elements-bundle/index.d.ts", "files": [ "dist/", "loader/", diff --git a/stencil.config.ts b/stencil.config.ts index 914b1afa6..8b9dbb0bd 100644 --- a/stencil.config.ts +++ b/stencil.config.ts @@ -19,7 +19,8 @@ export const config: Config = { esmLoaderPath: '../loader' }, { - type: 'dist-custom-elements-bundle' + type: 'dist-custom-elements-bundle', + dir: './dist/custom-elements-bundle' }, { type: 'docs-custom',