uPortal-contrib / CardWebComponents

Card Web Components for the uPortal ecosystem
https://uportal-contrib.github.io/CardWebComponents/
Apache License 2.0
3 stars 2 forks source link

Choose a Bundler to package the code #1

Closed cousquer closed 6 years ago

cousquer commented 6 years ago
ChristianMurphy commented 6 years ago

It looks like the code is already pretty self contained. Using babel to transpile without a bundler may work for this project. See uportal/open-id-connect for an example: https://github.com/uPortal-contrib/uPortal-web-components/blob/master/%40uportal/open-id-connect/.babelrc

ChristianMurphy commented 6 years ago

So an update here, when generating several variants (ESM, CJS, UMD, IIFE). Rollup can be a good option, the open id connect helper has an example of how it can be used https://github.com/uPortal-contrib/uPortal-web-components/blob/master/%40uportal/open-id-connect/rollup.config.js

cousquer commented 6 years ago

I'll have a look. Many Thanks @ChristianMurphy . Before that, I want to perform an Accessibility Audit with Axe-core. I was waiting for its support of WCAG 2.1, That's why I was waiting to do any updates... Now it's ok, so Let's rock!