readymade-ui / starter Goto Github PK
View Code? Open in Web Editor NEWStarter code for building a site with Readymade
Starter code for building a site with Readymade
67% reduction in bundle size when bundling with rollup of instead parcel. Parcel is not tree shaking several classes from @readymade/core
FESM, while rollup
can. Steps to reproduce a simple example are below. Bug is reproducible on bug/optimize
branch.
yarn install
yarn prod && yarn serve
Observe size of client.js (~23.17 KB)
yarn prod:rollup && yarn serve
Observe size of client.js (~7.61 KB)
Project builds in Parcel 1.x fine, but in Parcel 2.0 typescript decorators cause the build to fail.
This project makes hevy use of TypeScript. The Readymade library is dependent on TypeScript decorator pattern.
๐จ Build failed.
[0] @parcel/transformer-babel: Support for the experimental syntax 'decorators-legacy' isn't currently enabled (7:1):
This error indicates I need to load the @babel/plugin-proposal-decorators
plugin in .babelrc
, however this dependency was not needed in Parcel 1.x. Adding this dependency opens a whole other can of worms.
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }]
]
yarn install
yarn prod && yarn serve
Curious to know what limitations you encountered with Skate SSR. I'd like to circle back to SSR at some point with lume/element.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.