Skip to content

Commit 0789361

Browse files
committed
babel config
1 parent bf131a1 commit 0789361

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
.vscode/
22
.history
3-
project
43
logs
54
*.log
65
npm-debug.log*
76
.DS_Store
87
*.swp
98
yarn-error.log
10-
yarn.lock
11-
package-lock.json
129

1310
node_modules
1411
build
1512
dist
13+
screenshots
1614
cypress/videos
1715
cypress/reports
18-
screenshots
19-
videos
2016
.env.local
2117
.env.development.local
2218
.env.test.local
23-
.env.production.local
24-
*~
19+
.env.production.local

babel.config.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
module.exports = function (api) {
2-
api.cache(true);
3-
const presets = ['razzle/babel'];
4-
const plugins = [
5-
[
6-
'react-intl', // React Intl extractor, required for the whole i18n infrastructure to work
7-
{
8-
messagesDir: './build/messages/',
9-
},
10-
],
11-
];
12-
13-
return {
14-
plugins,
15-
presets,
16-
};
17-
};
1+
module.exports = require('@plone/volto/babel');

0 commit comments

Comments
 (0)