mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix graphql issue with lambdas flag (#5755)
Fixes https://spectrum.chat/?t=604f6aa6-23f2-4358-8b0b-14e5810178dc
This commit is contained in:
parent
818cf8e77a
commit
08e3396574
|
@ -206,7 +206,7 @@ export default async function getBaseWebpackConfig (dir, {dev = false, isServer
|
|||
|
||||
const resolveConfig = {
|
||||
// Disable .mjs for node_modules bundling
|
||||
extensions: ['.wasm', !lambdas && '.mjs', '.js', '.jsx', '.json'].filter(Boolean),
|
||||
extensions: ['.wasm', '.mjs', '.js', '.jsx', '.json'].filter(Boolean),
|
||||
modules: [
|
||||
NEXT_PROJECT_ROOT_NODE_MODULES,
|
||||
'node_modules',
|
||||
|
|
Loading…
Reference in a new issue