Big Chungus
10/06/2020, 9:54 PMVampire
10/06/2020, 11:09 PMBig Chungus
10/06/2020, 11:24 PMOla Adolfsson
10/07/2020, 5:30 AMRescribet
10/07/2020, 6:58 AMmain
, module
, browser
, types
, etc). The profiles can then be further configured if needed.
That package in turn uses np
which lays out a publishing pipeline (https://www.npmjs.com/package/np)
A nice-to-have would probably be 2FA supportankushg
10/07/2020, 5:43 PM$buildDir/distributions
• runs browserDistribution
on the umbrella project to compile and run DCE, getting a unique DCE'd subfolder in $buildDir/distributions
for each dependency of the umbrella project
• Add a package.json
to each subfolder, populating transitive dependencies to point to one another
• publish all subfolders (including our own DCE'd version of kotlin.js and serialization)
This lets us keep our web bundle sizes lean, as we only load each specific kotlin/js module on the page where it's needed, and avoid pulling in extra artifacts (esp serialization, which isn't used in every module).
Maybe ES6 support will make the need for DCE obsolete since it would let us use webpack's tree shaking instead 🤷♂️Big Chungus
10/08/2020, 2:50 PMBig Chungus
10/08/2020, 5:58 PM