Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Gulp build, dist folder still has all the TS files #95

Closed
mattiLeBlanc opened this issue Aug 1, 2016 · 9 comments
Closed

Gulp build, dist folder still has all the TS files #95

mattiLeBlanc opened this issue Aug 1, 2016 · 9 comments

Comments

@mattiLeBlanc
Copy link

Hi,

I use fountain for a Angular, Typescript, Stylus project with PUG. Have that all working fine with help from fellow gitters.

I was evaluating the build, and I noticed that the TS files are still present in my dist folder.
I assume these need to be removed before the files are copied over to the dist folder since all the TS files have already been converted to JS.
Am I correct?

@kuhnroyal
Copy link

I changed a line in gulp_tasks/misc.js, added the pug,ts.

path.join(`!${conf.paths.src}`, '/**/*.{pug,ts,html,css,js,styl}')

@micaelmbagira
Copy link
Member

Duplicate of FountainJS/generator-fountain-angular2#70 but I'll leave it open because not the same repo.

@mattiLeBlanc
Copy link
Author

mattiLeBlanc commented Aug 1, 2016

@kuhnroyal Hi,

Yep, this works fine. Thanks

@micaelmbagira
Copy link
Member

I reopen it until next release 😉

@kuhnroyal
Copy link

@mattiLeBlanc Since you use the pug-loader, you don't need the template-cache anymore. Try to remove all references to it.

@mattiLeBlanc
Copy link
Author

@kuhnroyal Is that related to issue #97 ?

@kuhnroyal
Copy link

No idea, I just know that you don't need it with pug-loader.

@micaelmbagira
Copy link
Member

Fixed in 0.7.0 (just released) 😉

@mattiLeBlanc
Copy link
Author

thanks guys! Great work.

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

No branches or pull requests

4 participants