generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf131a1
commit 0789361
Showing
2 changed files
with
3 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |