From 3ad5a9fb4a46044c45978d24d12d11a29503d2de Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Tue, 13 Sep 2016 04:22:13 +0530 Subject: [PATCH] fix(babel): don't use preset es2015-native-modules --- package.json | 1 - src/babelrc.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 8a270ed..f89350f 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "babel-plugin-transform-runtime": "^6.15.0", "babel-polyfill": "^6.13.0", "babel-preset-es2015": "^6.14.0", - "babel-preset-es2015-native-modules": "^6.9.4", "babel-preset-react": "^6.11.1", "babel-preset-react-hmre": "^1.1.1", "babel-preset-stage-1": "^6.13.0", diff --git a/src/babelrc.js b/src/babelrc.js index 5abffa6..1a9c3d8 100644 --- a/src/babelrc.js +++ b/src/babelrc.js @@ -1,6 +1,6 @@ export default { presets: [ - require.resolve('babel-preset-es2015-native-modules'), + [ require.resolve('babel-preset-es2015'), { 'modules': false } ], require.resolve('babel-preset-react'), require.resolve('babel-preset-stage-1'), ],