scale
scale copied to clipboard
Less unique files for Standalone-UMD builds
Describe the feature request Currently Scale works fine using the provided zip files in the release for non-NodeJS projects. For example: https://github.com/telekom/scale/releases/download/latest/telekom-scale-components-3.0.0-beta.147.zip However those zip files have a huge amount of separate JavaScript files and co. in them. Including those files in a git repository is a huge commit and in my opinion not a good practices. However right now it's not possible to just include one js and one css file like in other frameworks as the main ones have several imports and don't work standalone.
What I would like to have would be a single JS file and CSS file for the whole Scale Theme. Fonts or images can stay separately, but at least to offer the option to have way fewer JavaScript files for non-NodeJS projects.
It would be nice to have only two files like one JS and one CSS as a minified version as output of scale. This would improve the performance our pipeline infra heavily.
I think you're looking for something like
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
So, Rollup
is your friend.