Skip to content

Update libraries.json#25

Open
jogibear9988 wants to merge 1 commit intoadamghill:mainfrom
jogibear9988:patch-1
Open

Update libraries.json#25
jogibear9988 wants to merge 1 commit intoadamghill:mainfrom
jogibear9988:patch-1

Conversation

@jogibear9988
Copy link

No description provided.

@jogibear9988
Copy link
Author

Is used for example to build this designer framework: https://node-projects.github.io/web-component-designer-demo/index.html

@adamghill
Copy link
Owner

This looks very cool, but it appears to be TypeScript only? Is this possible to use in a browser straight from a CDN?

@jogibear9988
Copy link
Author

Yes, why not. The lib is compiled to ES6, it works directly as NPM package.
With newest browser Technologies like importmaps, no build step is needed

@jogibear9988
Copy link
Author

my complete designer is also in typescript, but then only translated to ES6, no webpack, parcel or anything.
But after that not more transpilation is done. So it only uses current browser features. Cause of that it also only works in Chrome, Safari and Firefox, so no IE support

@jogibear9988
Copy link
Author

You also see here: https://www.npmjs.com/package/@node-projects/base-custom-webcomponent?activeTab=code in the dist folder (wich is linked in paackage.json) there is only .js code (okay and d.ts files)
(I also saw that I included the source in the NPM, I will remove it in the next one)

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

Successfully merging this pull request may close these issues.

2 participants