Skip to content

Commit 23b4fbb

Browse files
author
Amir Tocker
committed
Upgrade webpack and babel
1 parent dfb7cc2 commit 23b4fbb

File tree

7 files changed

+12930
-8381
lines changed

7 files changed

+12930
-8381
lines changed

.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.npmignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,7 @@ stories/
4545
.storybook/
4646
samples/
4747
test/
48-
storybook-static/
48+
storybook-static/
49+
50+
babel.config.js
51+
.babelrc

babel.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"use strict";
2+
3+
module.exports = function (api){
4+
api.cache.never();
5+
return {
6+
plugins: ["@babel/proposal-export-default-from"],
7+
"presets":
8+
["@babel/preset-env", "@babel/preset-react"],
9+
}};

0 commit comments

Comments
 (0)