-
Notifications
You must be signed in to change notification settings - Fork 787
Conversation
Generated by 🚫 dangerJS |
Sorry for the noise - I mistakenly ran |
@corydeppen what is lodash-es? |
Ah! I see #1286 (comment) Can you take a look at the CI failure? And add a changelog and I'd love to merge and release this! |
- Update lodash types - Add babelify to Transform node_modules/lodash-es for Browserify build - Add changelog entry
6931bad
to
7a26870
Compare
@jbaxleyiii Including functions from the specific lodash-es modules increased the size of the bundle. I didn't want to tweak the bundlesize threshold until I knew you were okay with the approach. |
Is there any way we could get this merged? Seems like this issue is holding up more than 20 teams from upgrading to v.2 based on the reactions to #1286. |
@corydeppen I'm really concerned about including all of lodash even with the I wonder if there is another way? edit I don't know why the size is increasing since it is importing the file directly. I'll take a look and see how to get this merged today! |
I posted this comment on a commit but I cannot seem to find it anymore so allow me to submit it again here. This change (apparently already published in
Did we miss something maybe? Everything was (is) working fine in 2.0.1. Thank you! |
I get same error as @hugogiraudel here after update, but only in jest tests. The app itself builds and runs fine Here is my {
"compilerOptions": {
"outDir": "build/dist",
"module": "esnext",
"target": "es5",
"lib": ["es7", "dom", "esnext.asynciterable"],
"sourceMap": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "src",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"allowSyntheticDefaultImports": false,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true
},
"exclude": [
"__mocks__",
"node_modules",
"build",
"scripts",
"acceptance-tests",
"webpack",
"jest",
"src/setupTests.ts"
]
}
And for tests, {
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs"
}
} |
From this comment facebook/create-react-app#3001 (comment) I conclude that this problem should also affect regular I see that in this PR @corydeppen works around this with |
This reverts commit 8085a94. Fixes apollographql#1390
Since the fix has been rolled back, now I get the lodash error again... |
Any known workarounds while this issue gets resolved? |
still looking for a workaroud, any idea? |
Resolves #1286