Skip to content

Commit ab62619

Browse files
authored
Fix linker stack null reference (#590)
1 parent ed9d2b7 commit ab62619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/output/util/linker_stack.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function firstPass(fns, input) {
4040
* @returns {Function} linker method
4141
*/
4242
function LinkerStack(config) {
43+
config = config || {};
4344
this.stack = [];
4445

4546
if (config.defaultGlobals !== false) {

0 commit comments

Comments
 (0)