You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs say that for integrations we should import defineCustomElements from dist/loader but even after npm run build (lots of files missing on just npm start by the way) there is no loader folder in dist, only one outside it:
packages "main" entry points to dist/index.js, which points to ./cjs/index.cjs.js which has nothing in it except 'use strict';, so that's a no-go too.
Expected behavior:
Library should export defineCustomElements.
Steps to reproduce:
npm init stencil
Note this generated files with v1 beta8, I manually updated to 1.0.4. Haven't done anything special except add the scss plugin and the start of a few custom components.
The text was updated successfully, but these errors were encountered:
PS I just ran npm run build on a completely new component project via npm init stencil and same result and exports nothing in "main" entry as mentioned.
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
defineCustomElements
fromdist/loader
but even afternpm run build
(lots of files missing on justnpm start
by the way) there is noloader
folder in dist, only one outside it:./cjs/index.cjs.js
which has nothing in it except'use strict';
, so that's a no-go too.Expected behavior:
Library should export
defineCustomElements
.Steps to reproduce:
npm init stencil
Note this generated files with v1 beta8, I manually updated to 1.0.4. Haven't done anything special except add the scss plugin and the start of a few custom components.
The text was updated successfully, but these errors were encountered: