Skip to content

Commit

Permalink
Fixed loader errors on new install (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibson666 authored Nov 2, 2023
1 parent 1985a81 commit d45e476
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/web-components/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type { import('@storybook/html').Preview } */
import { withThemeByDataAttribute } from '@storybook/addon-styling';
import {defineCustomElements} from '../loader';
import {defineCustomElements} from '../dist/loader';

defineCustomElements();

Expand Down
5 changes: 2 additions & 3 deletions packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@
"url": "https://github.com/ionic-team/stencil-component-starter.git"
},
"files": [
"dist/",
"loader/"
"dist/"
],
"scripts": {
"build": "stencil build --docs",
"start": "stencil build --dev --watch",
"test": "stencil test --spec --e2e",
"test.watch": "stencil test --spec --e2e --watchAll",
"generate": "stencil generate",
"storybook": "storybook dev -p 6008",
"storybook": "stencil build --docs && storybook dev -p 6008",
"build-storybook": "storybook build"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';

export const config: Config = {
namespace: 'web-components',
namespace: 'cbp-web-components',
outputTargets: [
{
type: 'dist',
Expand Down

0 comments on commit d45e476

Please sign in to comment.