@codiechanel/ui-library

A sample setup using Rollup and Babel to build TypeScript code, and using TypeScript for type-checking.

Usage no npm install needed!

<script type="module">
  import codiechanelUiLibrary from 'https://cdn.skypack.dev/@codiechanel/ui-library';
</script>

README

// "browser": "dist/rollup-plugin-babel.iife.js",

Rollup-TypeScript-Babel

This is sample repository demonstrates how to use Rollup, TypeScript and Babel

Building the repo

npm run build

Building only types

npm run build:types

Type-Checking the repo

npm run type-check

And to run in --watch mode:

npm run type-check:watch
"presets": [
    [
      "@babel/preset-env",
      {
        "bugfixes": true,
        "useBuiltIns": "entry",
        "corejs": 3,
        "modules": "commonjs",
        "loose": true
      }
    ],