corvée(dépendances) ajoute Carbon Fields
This commit is contained in:
parent
135cc65eed
commit
62368587e5
459 changed files with 72750 additions and 26 deletions
26
web/vendor/htmlburger/carbon-fields/.babelrc.js
vendored
Normal file
26
web/vendor/htmlburger/carbon-fields/.babelrc.js
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
[ '@babel/preset-env', {
|
||||
modules: false
|
||||
} ],
|
||||
[ '@babel/preset-react', {
|
||||
pragma: 'wp.element.createElement',
|
||||
pragmaFrag: 'wp.element.Fragment'
|
||||
} ]
|
||||
],
|
||||
plugins: [
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
'@babel/plugin-proposal-object-rest-spread',
|
||||
'@babel/plugin-syntax-async-generators',
|
||||
'@babel/plugin-transform-runtime'
|
||||
],
|
||||
env: {
|
||||
production: {
|
||||
plugins: [
|
||||
[ '@wordpress/babel-plugin-makepot', {
|
||||
output: 'languages/carbon-fields-ui.pot'
|
||||
} ]
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue