improve interpackage config sharing
This commit is contained in:
23
packages/netlify-cms-core/babel.config.js
Normal file
23
packages/netlify-cms-core/babel.config.js
Normal file
@ -0,0 +1,23 @@
|
||||
const babelConfig = require('../../babel.config.js');
|
||||
|
||||
module.exports = {
|
||||
...babelConfig,
|
||||
plugins: [
|
||||
...babelConfig.plugins,
|
||||
['module-resolver', {
|
||||
root: './src/components',
|
||||
alias: {
|
||||
src: './src',
|
||||
Actions: './src/actions/',
|
||||
Constants: './src/constants/',
|
||||
Formats: './src/formats/',
|
||||
Integrations: './src/integrations/',
|
||||
Lib: './src/lib/',
|
||||
Reducers: './src/reducers/',
|
||||
Redux: './src/redux/',
|
||||
Routing: './src/routing/',
|
||||
ValueObjects: './src/valueObjects/',
|
||||
}
|
||||
}],
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user