Lionel
Lionel
I'll try to add that support. I'm a beginner in babel plugin developpement, Do you have any resource to recommend that could help ?
@b6pzeusbc54tvhw5jgpyw8pwz2x6gs I just read it :) What can help me dive in, could be a brief overview of each file and its role in the babel plugin (analyse, transform, generate)...
@meetzaveri thanks for the reply! I've done exactly the same workaround :)
after digging inside the mock library, I found that update that the problem come from [here](https://github.com/AngularClass/angular-websocket/blob/master/src/angular-websocket-mock.js#L78) ``` diff - if (pending.message === msg.message) { + if (pending === msg) {...
after digging in the generated code (dist), the `require('ws')` is no longer wrapped in a `if` block, that why module bundler try to require `ws` module. I will try to...
see https://github.com/AngularClass/angular-websocket/blob/master/dist/angular-websocket.js#L5
:birthday: @n1k0
side note `mocha --watch` option not fully working here... don't know why :(
I guess the problem come from https://github.com/Yomguithereal/kotatsu/blob/master/src/createCompiler.js#L105
even if output is added, `kotatsu serve` always create a bundle in `/build/bundle.js`