Sérgio Ramos

Results 14 comments of Sérgio Ramos

``` User.find({age: {$range: {$start: null, $end: null}}}).all(function (users) { console.log(users); }); ```

[shameless plug] You can use [serverless-plugin-tree-shake](https://github.com/sergioramos/serverless-plugin-tree-shake). I have examples of Serverless running with the plugin and PnP: - [With Typescript, PnP, and individual functions](https://github.com/sergioramos/serverless-plugin-tree-shake/tree/master/test/__fixtures__/ts-pnp-individually); - [With Typescript and PnP](https://github.com/sergioramos/serverless-plugin-tree-shake/tree/master/test/__fixtures__/ts-pnp-single); -...

+1, on Snow Leopard On db.oracle.js there is this code: `try { binding = require("./build/default/oracle_bindings"); } catch(error) { binding = require("./build/Release/oracle_bindings"); }` Witch i edited to this: `try { binding...

They removed all the sync functions. I have a fork with the sync open if you want ;)

@boffbowsh I haven't had time to look at this, but `window` is already being emulated: https://github.com/ramitos/react-tvml/blob/master/src/globals.js

`foo` and `bar` are still a symbol declared in the scope of that file. IMHO they should be present the tags.

Have you tried to add a `console.log` to the `resolveFilePathsFunction` function? https://github.com/sergioramos/serverless-plugin-tree-shake/blob/af80b6befb57b4fadd3c62619dec1f2ee0816529/index.js#L401

Actually, I have a better idea: ```diff module.exports = class { const allFiles = await Map( this.serverless.service.getAllFunctions(), (fnName) => { - return this.resolveFilePathsFunction(fnName); + return this.resolveFilePathsFunction(fnName).catch((error) => { + console.error(error,...

hello @rmalveis, thank you for the report. do you have any way to reproduce the error?