open-index/open-npm huggingface dataset:
npm package: @justeattakeaway/pie-components-config
Description: Shared configuration files for PIE components
Author: Just Eat Takeaway.com - Design System Team
Latest version: 0.21.0

<p align="center">
  <img align="center" src="../../readme_image.png" height="200" alt="">
</p>

# pie-components-config

The purpose of this package is to centralize components configurations (build, testing, etc...) in one place to avoid synchronization issues and unnecessary maintenance.
## Vite

To use the shared config, all you need to do is import and re-export it in your own `vite.config.js`:

```js
import viteConfig from '@justeattakeaway/pie-components-config/vite.config';
import getPackageVersion from '@justeattakeaway/pie-monorepo-utils/utils/get-package-version.js';

export default viteConfig({
    version: getPackageVersion(__dirname),
});
```

You can also override any values by passing in an object which will be merged deeply with the default values.