µcdn: a live, bundlerless, alternative

A basic example

git clone https://github.com/WebReflection/ucdn-test.git
cd ucdn-test
npm i
npm run build

What is this sorcery?

import { render, html } from 'uhtml';import './my-counter.js';// ... 

About multiple dependencies

Are dynamic imports available?

// this doesn't work at all
import(condition ? "module1" : "module2");
import(`module-${thing}`);
// this works *only* if ./relative is part of
// the source and not as 3rd parts module logic
import(`./relative/${file}.js`).then(console.log);

And what about IE?

Not only IE though …

A new, refreshing, way to deploy JS 🎉

Literally … in 2 minutes!

Web, Mobile, IoT, and all JS things since 00's. Formerly JS engineer at @nokia, @facebook, @twitter.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store