nicktupy
nicktupy
When the Vue-CLI sets the NODE_ENV, it is set as '"production"' or '"development"' so the quotations are considered a part of the string. `if (process.env.NODE_ENV !== 'production') { //debug function...
 Here is an example. The production output text you see in the log is from `console.log(process.env.NODE_ENV)` Once I implemented the change I discussed in the above post, the websocket-client...
Adding it to the transpileDependencies array appears to break the module for me.
[Here](https://github.com/nicktupy/socket-test) is a freshly generated vue project with the adonis-websocket-client installed via `npm i @adonisjs/websocket-client` When launched via the Vue-CLI using the "Serve" task with the "Production" parameter selected or...
Sorry, I accidentally created it as a private repo. It should be public now.
Try using my fork of the web socket client repo. It should work as a temporary fix. On Mon, Apr 29, 2019, 11:29 PM Yann Prono wrote: > I have...