-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["es2015"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "redux-logger", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Logger for Redux", | ||
"main": "dist/redux-logger.js", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
thiamsantos
Contributor
|
||
"module": "src/index.js", | ||
|
@@ -18,12 +18,6 @@ | |
"precommit": "npm test", | ||
"prepublish": "npm run clean && npm test && npm run build" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"es2015", | ||
"stage-0" | ||
] | ||
}, | ||
"eslintConfig": { | ||
"extends": "airbnb", | ||
"rules": { | ||
|
4 comments
on commit db841f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It fixed #229 @evgenyrodionov?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thiamsantos yep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I'm sure that the universe is very strange lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange only babel's lookup in node_modules/redux-logger/package.json
while guys have .babelrc
at project's root.
I was testing here using webpack to bundle and I found a huge problem. If you uses a modern bundler it will lookup for the property module in the package.json and import it, but that imported code will not be transpiled by because we all use a configuration similar to the one below, where we ignore the files from
node_modules
:So, I think we should remove this two properties that I added in #227.