Skip to content

Commit 4bac62c

Browse files
committed
ajout Express
1 parent 800bcdd commit 4bac62c

14 files changed

+317
-1027
lines changed

babel.config.js

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
module.exports = api => {
2-
api.cache(true);
2+
api.cache(true);
33

4-
const presets = [
5-
[
6-
"@babel/preset-env",
7-
{
8-
targets: ["last 3 versions", "not dead", "not < 1%"],
9-
useBuiltIns: "usage"
10-
}
11-
],
12-
"@babel/preset-react"
13-
];
4+
const presets = [
5+
[
6+
"@babel/preset-env",
7+
{
8+
targets: ["last 3 versions", "not dead", "not < 1%"],
9+
useBuiltIns: "usage",
10+
},
11+
],
12+
"@babel/preset-react",
13+
];
1414

15-
const plugins = [
16-
"react-hot-loader/babel",
17-
"@babel/plugin-proposal-class-properties",
18-
"@babel/plugin-syntax-dynamic-import"
19-
];
15+
const plugins = [
16+
"@babel/plugin-proposal-class-properties",
17+
"@babel/plugin-syntax-dynamic-import",
18+
];
2019

21-
return {
22-
presets,
23-
plugins
24-
};
20+
return {
21+
presets,
22+
plugins,
23+
};
2524
};

0 commit comments

Comments
 (0)