tiberiucorbu / es5-esnext-webcomponent-project-starter

a configuration for webcomponents build for IE11 to Chrome

Home Page:https://tiberiucorbu.github.io/es5-esnext-webcomponent-project-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript to es 5 to next WebComponent setup

This is sample repository adopts custom elements for IE11 and modern browsers

network demo

Demo

https://tiberiucorbu.github.io/es5-esnext-webcomponent-project-starter/

Building

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

Docker

Build it inside a container

build

docker build -t es-variants-build .

where es-variants-build is a name chosen by you.

run

cmd :

docker run -v "%cd%/src:/src" es-variants-build

bash:

docker run -v "$pwd/src:/src/src" es-variants-build

About

a configuration for webcomponents build for IE11 to Chrome

https://tiberiucorbu.github.io/es5-esnext-webcomponent-project-starter/


Languages

Language:TypeScript 41.3%Language:JavaScript 38.3%Language:HTML 18.1%Language:Dockerfile 2.3%