@justeattakeaway/pie-components-config 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vite.config.js +1 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-components-config",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "author": "Just Eat Takeaway.com - Design System Team",
package/vite.config.js CHANGED
@@ -4,12 +4,6 @@ import { visualizer } from 'rollup-plugin-visualizer';
4
4
 
5
5
  import { deepmerge } from 'deepmerge-ts';
6
6
 
7
- const bundledJetDeps = [
8
- '@justeattakeaway/pie-components-config',
9
- '@justeattakeaway/pie-css',
10
- '@justeattakeaway/pie-webc-testing',
11
- ];
12
-
13
7
  // https://vitejs.dev/config/
14
8
  const sharedConfig = ({ build = {}, plugins = [], ...rest }) => defineConfig({
15
9
  build: deepmerge({
@@ -26,7 +20,7 @@ const sharedConfig = ({ build = {}, plugins = [], ...rest }) => defineConfig({
26
20
  return true;
27
21
  }
28
22
 
29
- if (id.startsWith('@justeattakeaway/pie-') && !bundledJetDeps.includes(id)) {
23
+ if (id.startsWith('@justeattakeaway/pie-')) {
30
24
  console.info(`Excluding ${id} from the bundle`);
31
25
  return true;
32
26
  }