Skip to content

Commit

Permalink
Merge pull request #1924 from serverless-heaven/fix/remove-fbgraph-ex…
Browse files Browse the repository at this point in the history
…amples

Remove `fbgraph` from examples
  • Loading branch information
j0k3r committed Sep 6, 2024
2 parents 76da4f3 + 320dd5f commit 099383c
Show file tree
Hide file tree
Showing 11 changed files with 77 additions and 884 deletions.
6 changes: 3 additions & 3 deletions examples/include-external-npm-packages-lock-file/handler.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Should keep side-effects scripts
import 'dotenv/config';
// Should be included as fbgraph is not marked as sideEffect free
// Should be included as cookie is not marked as sideEffect free
// eslint-disable-next-line no-unused-vars
import { fbgraph } from 'fbgraph';
import { cookie } from 'cookie';
// Should keep named imports
import { toUpper } from 'lodash';
// Should keep default imports
import isEqual from 'lodash.isequal';

function getMessage() {
return isEqual(true, false) ? 'noop' : toUpper('hello fb & aws');
return isEqual(true, false) ? 'noop' : toUpper('hello cookie & aws');
}

export const hello = function (event, _, cb) {
Expand Down
Loading

0 comments on commit 099383c

Please sign in to comment.