Differential / meteor-vulcanize

Vulcanize html imports in your meteor app.
32 stars 15 forks source link

Remove bower_components from /public on production during meteor bundle #9

Closed engelgabriel closed 9 years ago

engelgabriel commented 9 years ago

After project been vulcanized, we don't need bower_components in public folder anymore. Lets remove it for production during meteor bundle. Closes #3

hellogerard commented 9 years ago

Yay!

engelgabriel commented 9 years ago

I was doing a pull request on behalf of erkkaha, but reading the code a second time, looks like it should/could be improved. I'll try again myself.

hellogerard commented 9 years ago

Aww

engelgabriel commented 9 years ago

I'll have a better version later today.

erkkaha commented 9 years ago

Yes, I never made a pull-request as I was not doing the adding and removing the components folder in a nice way. Creating and removing symlink to the components folder under public will break meteor build, when the symlink is removed, giving out and error that files are missing and build has to be rerun. Using symlink might work, but it would have be removed before meteor build knows that it is there in the first place. Also resolving paths on OSX might need some work.