Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add staticDist option #41

Merged
merged 16 commits into from
Jul 11, 2017
Merged

Add staticDist option #41

merged 16 commits into from
Jul 11, 2017

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.

None yet

2 participants