Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Vueify problem with vue hot reload. #51

Closed
badman-rodriguez opened this issue Jan 11, 2016 · 2 comments
Closed

Vueify problem with vue hot reload. #51

badman-rodriguez opened this issue Jan 11, 2016 · 2 comments

Comments

@badman-rodriguez
Copy link

Currently using vueify with laravel elixir and i'm running into an issue.
Now it compiles the .vue file just fine and produces what i need, but it appends an vue-hot-reload-api into the production file....

Is that always necessary? can it just process the .vue component and produce the js file without the vue-hot-reload-api included in the JS?

I cant seem to find a way to get rid of it.

Thanks.

@yyx990803
Copy link
Member

When building for production make sure the Node process' process.env.NODE_ENV is set to "production".

@badman-rodriguez
Copy link
Author

screen shot 2016-01-11 at 5 05 47 pm

I did that, still appends it. With a couple lines of code to test out a single component it grows from 1-2kb to 83kb.

Also did gulp --production, just in case and it still shows up.

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

No branches or pull requests

2 participants