Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Copy task: Motion UI and What Input #922

Closed
@emaia

Description

Hi guys!

I have a question about the copy task in the gulpfile.js (v2.8.0).
In the file we have this:

// Copy task
gulp.task('copy', function() {

  // Motion UI
  var motionUi = gulp.src('assets/components/motion-ui/**/*.*')
    .pipe($.flatten())
    .pipe(gulp.dest('assets/javascript/vendor/motion-ui'));

  // What Input
  var whatInput = gulp.src('assets/components/what-input/**/*.*')
      .pipe($.flatten())
      .pipe(gulp.dest('assets/javascript/vendor/what-input'));

With this all the Motion UI and What Input files are placed in the javascript/vendor folder (including scss, css, md, json...) but the js files of both components are already included in javascript/foundation.js by Uglify task.

Is there any purpose for this in the copy job?
Thanks

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions