Skip to content

Commit 0235c9b

Browse files
committed
Externals
1 parent 6e443c4 commit 0235c9b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

next.config.js

+9
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ module.exports = {
1616
]
1717
});
1818

19+
// Enable these externals to build
20+
/*
21+
config.externals = {
22+
...config.externals,
23+
canvas: 'canvas',
24+
critters: 'critters'
25+
};
26+
*/
27+
1928
return config;
2029
}
2130
};

0 commit comments

Comments
 (0)