-
Notifications
You must be signed in to change notification settings - Fork 1
Add staticDist option #41
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
Conversation
site/default/static/build.js
Outdated
|
|
||
| var promise = Q.all([ | ||
| fsx.copy(path.join(folders.build, "dist"), path.join(folders.dist)) | ||
| ].concat(staticDistPromises)); |
There was a problem hiding this comment.
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?
build/build_test.js
Outdated
| "can-component": "3.0.0-pre.9" | ||
| }, | ||
| staticDist: [ | ||
| 'test-static-dist' |
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this 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
html.staticDistoption for copying static assets from a template