Skip to content

custom output file path - #58

Open
gaboolic wants to merge 99 commits into
docrootfrom
master
Open

custom output file path#58
gaboolic wants to merge 99 commits into
docrootfrom
master

Conversation

@gaboolic

@gaboolic gaboolic commented Sep 7, 2015

Copy link
Copy Markdown

change
if (isDirectory(dest) && !config.orig.cwd) {
dest = path.join(dest, src);
}
to
if (isDirectory(dest) && !config.orig.cwd) {
dest = path.join(dest, path.basename(src));
}

and the config can be:
includereplace: {
html: {
options: {
},
src: 'src/.html',
dest: 'build/'
},
js: {
options: {
},
src: 'src/js/
.js',
dest: 'build/js/'
}
}

Alan Shaw and others added 30 commits June 19, 2013 22:09
Fixed infinite loop when replacement file contains "$&" characters
…ation function to create the second param for String.replace.
…to XhmikosR-master

Conflicts:
	tasks/includereplace.js
	test/includereplace.js
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.

10 participants