Skip to content

Commit

Permalink
babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
ionlizarazu committed Dec 20, 2022
1 parent bf131a1 commit 0789361
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 24 deletions.
9 changes: 2 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
.vscode/
.history
project
logs
*.log
npm-debug.log*
.DS_Store
*.swp
yarn-error.log
yarn.lock
package-lock.json

node_modules
build
dist
screenshots
cypress/videos
cypress/reports
screenshots
videos
.env.local
.env.development.local
.env.test.local
.env.production.local
*~
.env.production.local
18 changes: 1 addition & 17 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
module.exports = function (api) {
api.cache(true);
const presets = ['razzle/babel'];
const plugins = [
[
'react-intl', // React Intl extractor, required for the whole i18n infrastructure to work
{
messagesDir: './build/messages/',
},
],
];

return {
plugins,
presets,
};
};
module.exports = require('@plone/volto/babel');

0 comments on commit 0789361

Please sign in to comment.