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

identify and document build-time / bundle dependencys #11

Open
quarkus opened this issue Jul 7, 2020 · 4 comments
Open

identify and document build-time / bundle dependencys #11

quarkus opened this issue Jul 7, 2020 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@quarkus
Copy link
Contributor

quarkus commented Jul 7, 2020

We need to identify the critical requirements for an element-js build.

Which Babel-Plugins are really needed ?
We need to document the css part (post-css, postcss-import) as we "support".

Its probably a good idea to start an element-js-examples repo and have examples for

Is this a good idea or do we need some sort of create-app ?

@quarkus quarkus added the documentation Improvements or additions to documentation label Jul 7, 2020
@eddyloewen
Copy link
Contributor

We should probably consider this guide: https://open-wc.org/publishing/

@quarkus
Copy link
Contributor Author

quarkus commented Jul 7, 2020

That guide is actually more about publishing ready to use web components ... i was actually thinking about providing a minimum build chain that you can reuse and extend in a specific project.

Lit refers to:
https://lit-element.polymer-project.org/guide/start#download-the-starter-project
for a little kickstart.

I would keep these examples way simpler .. maybe just an es dev server / some npm scripts, a rollup.config and a webpack.config to just showcase what is actually needed to get the most out of element-js .. and thats basically a little babel and some postcss magic.

@lukas-schardt
Copy link
Collaborator

After a call with @eddyloewen about a rough structure of the starters, I opened a starter repository and added example starters for webpack & snowpack. The repository is here https://github.com/webtides/element-js-starters.
There we should add new starters and improve the readmes.

@eddyloewen
Copy link
Contributor

LitElement released a documentation site recently to explain how to build/bundle for production: https://lit-element.polymer-project.org/guide/build

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

No branches or pull requests

3 participants