Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stencil-build error: when building components output doesn't provide files that are mentioned within docs #208

Closed
Hotell opened this issue Oct 4, 2017 · 3 comments
Assignees

Comments

@Hotell
Copy link
Contributor

Hotell commented Oct 4, 2017

Stencil version: (run npm list @stencil/core from a terminal/cmd prompt and paste output below):

@stencil/core@0.0.6-10

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Current behavior:

according to docs when building components for npm publishing stencil build should provide

 "main": "dist/collection/index.js",
  "types": "dist/collection/index.d.ts",
  "collection": "dist/collection/collection-manifest.json",
  • index.d.ts - doesn't exists
  • index.js is empty file

image

Expected behavior:

either update docs or this is a bug within stencil compiler

Steps to reproduce:

stencil build

Related code:

stencil.config.js

exports.config = {
  namespace: 'myname',
  generateDistribution: true,
  bundles: [
    { components: ['my-name'] }
  ]
};

exports.devServer = {
  root: 'www',
  watchGlob: '**/**'
}
@jgw96
Copy link
Contributor

jgw96 commented Oct 6, 2017

Hey @Hotell , so yeah this is currently an issue of the starter and docs being slightly out of date with the latest @next release of @stencil/core. Im working on getting the setup correct in the starters now. Since this is not actually an issue with the compiler I am going to move this issue to the component-starter for now. Thanks!

@jgw96
Copy link
Contributor

jgw96 commented Oct 6, 2017

This issue was moved to ionic-team/stencil-component-starter#20

@jgw96 jgw96 closed this as completed Oct 6, 2017
@Hotell
Copy link
Contributor Author

Hotell commented Oct 6, 2017

fair enough, thx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants