Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit bd53bb7

Browse files
committed
Merge pull request #5 from yahoo/browserify-es3
Make Browserify bundle work in ES3 environments
2 parents cbd5872 + 3f2a222 commit bd53bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
'use strict';
22

3-
exports = module.exports = require('./lib/parser').default;
4-
Object.defineProperty(exports, 'default', {value: exports});
3+
exports = module.exports = require('./lib/parser')['default'];
4+
exports['default'] = exports;

0 commit comments

Comments
 (0)