Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Minimize option for prod? #7

Closed
uxder opened this issue Oct 6, 2016 · 5 comments
Closed

Minimize option for prod? #7

uxder opened this issue Oct 6, 2016 · 5 comments

Comments

@uxder
Copy link

uxder commented Oct 6, 2016

Can you add a minimize option for production?

@kolorobot
Copy link
Owner

Hi @uxder,

Is it possible you create a pull request or share some thoughts ideas? This would be very, very much appreciated.

@iRainSystem
Copy link

Hi @uxder,
Look here angular2-gulp-ts maybe this is what you need

@kolorobot
Copy link
Owner

/**

  • Watch for changes in sass, and get CSS files.
    /
    gulp.task('scss', function () {
    gulp.src('src/resources/assets/scss/__/
    .scss') //app.scss
    .pipe(sourcemaps.init()) //
    .pipe(sass()) //Compile
    .pipe(prefixer()) //prefix
    .pipe(cssmin()) //Compress
    .pipe(sourcemaps.write())
    .pipe(gulp.dest('build/resources/assets/css/')) //to build
    });

Some change would be needed in my project.

@iRainSystem Did you use this project as reference for the repo you mentioned?

@iRainSystem
Copy link

@kolorobot
Oh, I forgot to correct readme :(
Already added link.

I did not do a fork, because I will make too many changes

Good job!

@kolorobot
Copy link
Owner

@iRainSystem

Cool. Thanks. The link is wrong though :) Pointing your repo.

Maybe I am asking too much, but if you could add link to my blog post it would excellent ... http://blog.codeleak.pl/2016/03/quickstart-angular2-with-typescript-and.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants