Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Add templates path to gulpfile.js config #220

Merged
merged 1 commit into from
Aug 6, 2015
Merged

Add templates path to gulpfile.js config #220

merged 1 commit into from
Aug 6, 2015

Conversation

gmarziou
Copy link
Contributor

Fix #219

gruppjo added a commit that referenced this pull request Aug 6, 2015
Add templates path to gulpfile.js config
@gruppjo gruppjo merged commit fe72995 into mwaylabs:master Aug 6, 2015
@gruppjo
Copy link
Contributor

gruppjo commented Aug 6, 2015

Since this is a nice non-intrusive change, I'll merge this right away. Thanks for the good work :)
We'll discuss any other changes that are necessary on this regard on a case per case basis ok?

@gmarziou
Copy link
Contributor Author

gmarziou commented Aug 6, 2015

Great, thanks.

I'll open new issues to discuss other potential changes.

With this change, I am able to adapt your gulp build to JHipster structure by changing the paths like this:

gulp.paths = {
  dist: 'www',
  templates: ['app/**/*.html', '!app/index.html', '!app/bower_components/**/*.html'],
  jsFiles: ['app/**/*.js', '!app/bower_components/**/*.js'],
  jsonFiles: ['app/**/*.json', '!app/bower_components/**/*.json']
};

@gruppjo
Copy link
Contributor

gruppjo commented Aug 6, 2015

wonderful 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants