/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
tools/build-scripts/babel.config.cjs
15 строк
414 B
Andrew Duthie
Block Library: Remove unused Babel optimization plugin (#79162)
15 июн 2026, 21:36
Не верифицирован
15 июн 2026, 21:36
6b58b55
Код
Авторство
О чём код?
/* * Babel project-wide config for the monorepo. Owned by this workspace so all * babel-related dependencies live here rather than at the repo root. */ module.exports = ( api ) => { api.cache( true ); return { presets: [ require.resolve( '@wordpress/babel-preset-default' ) ], plugins: [ require.resolve( '@emotion/babel-plugin' ), require.resolve( 'babel-plugin-inline-json-import' ), ], }; };