Unverified Commit e4a1e374 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Use same extensions webpack supports, with addition of .jsx (#4960)

parent d6676e6e
...@@ -137,7 +137,7 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i ...@@ -137,7 +137,7 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, i
} : {} } : {}
const resolveConfig = { const resolveConfig = {
extensions: ['.js', '.jsx', '.json'], extensions: ['.wasm', '.mjs', '.js', '.jsx', '.json'],
modules: [ modules: [
NEXT_PROJECT_ROOT_NODE_MODULES, NEXT_PROJECT_ROOT_NODE_MODULES,
'node_modules', 'node_modules',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment