Skip to content

Conversation

@imaustink
Copy link
Contributor

@imaustink imaustink commented Jul 10, 2017

  • Add html.staticDist option for copying static assets from a template
  • Add test for copying static dist files
  • Cleanup some dead code and bad syntax


var promise = Q.all([
fsx.copy(path.join(folders.build, "dist"), path.join(folders.dist))
].concat(staticDistPromises));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is duplicated here and in the options.devBuild statement branch; could this be refactored to not be repeated in both places?

"can-component": "3.0.0-pre.9"
},
staticDist: [
'test-static-dist'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be an array of files, folders, or either?

@chasenlehara chasenlehara changed the title 40 add staticDist option Add staticDist option Jul 10, 2017
Copy link
Contributor

@chasenlehara chasenlehara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please release this as 0.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants