Skip to content

Commit db841f3

Browse files
committed
fix: remove babel: {} from package.json
1 parent 4347bd3 commit db841f3

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

package.json

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-logger",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"description": "Logger for Redux",
55
"main": "dist/redux-logger.js",
66
"module": "src/index.js",
@@ -18,12 +18,6 @@
1818
"precommit": "npm test",
1919
"prepublish": "npm run clean && npm test && npm run build"
2020
},
21-
"babel": {
22-
"presets": [
23-
"es2015",
24-
"stage-0"
25-
]
26-
},
2721
"eslintConfig": {
2822
"extends": "airbnb",
2923
"rules": {

rollup.config.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ export default {
1313
babel({
1414
babelrc: false,
1515
presets: [
16-
['es2015', {
17-
modules: false,
18-
}],
19-
'stage-0'
20-
],
21-
plugins: [
22-
'external-helpers'
16+
[
17+
'es2015',
18+
{
19+
modules: false,
20+
},
21+
],
2322
],
23+
plugins: ['external-helpers'],
2424
}),
2525
commonjs({
2626
include: 'node_modules/**',
@@ -30,6 +30,6 @@ export default {
3030
main: true,
3131
browser: true,
3232
}),
33-
uglify()
34-
]
33+
uglify(),
34+
],
3535
};

0 commit comments

Comments
 (0)