dalestone / angular2-gantt

A gantt library written in angular
MIT License
67 stars 38 forks source link

Improve/Create build process for lib #26

Closed dalestone closed 6 years ago

11joselu commented 7 years ago

angular-cli current situation for build components as library

Reference to feature (boilerplate for library): Feature Create boilerplate for library · Issue #1692 · angular/angular-cli

To do

I will keep updating this list Scratch this.

11joselu commented 7 years ago

Brief summary.

First of all I am sorry for possibles English errors (not my native language)

I tried to adapt Webpack configuration for bundle multiples files, inlines resources and compile sass files into separated files, with no great results. After looking some plugins and theirs architecture, I changed from Webpack to Gulp.js using Typescript.

Working repo

This build process, compile TS files into CommonJs module format, inject inline resources (Sass (compiled), HTML), and create a build folder with all js files and css (currently I'm not copying all src files).

What next's?

dalestone commented 7 years ago

Ok looking good