We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// foo.config.js export default { // Extend relative file extends: './foo.config.base', // cwd is same extends: '../base/foo.config', // cwd is ../base // Discover and extend config from directory extends: '../base', // loads base/foo.config.js // Extend multiple config extends: ['../theme', '../base'], // Next steps extends: 'github:foo/bar' // clones https://github.com/foo/bar.git and loads foo.config.js }
Resolved layers should be flattened and preserved in the final resolved configuration for custom merging/extend strategy:
const config = { baseColor: 'red', userOption: true, _extends: [ { config: { baseColor: 'red' }, meta: { cwd: 'path/to/theme', configFile: 'path/to/theme/foo.config.ts' } }, { config: { baseColor: 'blue' }, meta: { cwd: 'path/to/base', configFile: 'path/to/base/foo.config.ts' } } ] }
The text was updated successfully, but these errors were encountered:
feat: basic extends support (#1)
ef199fc
No branches or pull requests
Resolved layers should be flattened and preserved in the final resolved configuration for custom merging/extend strategy:
The text was updated successfully, but these errors were encountered: