Skip to content

Commit

Permalink
fix(exports): fix es bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Mar 19, 2017
1 parent f5cbef1 commit fec33b9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions dist/dush.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @api public
*/

module.exports = function dush () {
function dush () {
var all = Object.create(null);
var app = {
/**
Expand Down Expand Up @@ -269,4 +269,6 @@ module.exports = function dush () {
};

return app
};
}

module.exports = dush;
6 changes: 4 additions & 2 deletions dist/dush.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @api public
*/

module.exports = function dush () {
function dush () {
var all = Object.create(null);
var app = {
/**
Expand Down Expand Up @@ -267,4 +267,6 @@ module.exports = function dush () {
};

return app
};
}

export default dush;
2 changes: 1 addition & 1 deletion dist/dush.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified dist/dush.umd.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/dush.umd.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @api public
*/

module.exports = function dush () {
export default function dush () {
let all = Object.create(null)
const app = {
/**
Expand Down

0 comments on commit fec33b9

Please sign in to comment.