@polylith/builder 0.1.22 → 0.1.23

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/App.js +9 -9
  2. package/package.json +2 -2
package/App.js CHANGED
@@ -571,14 +571,15 @@ export default class App {
571
571
  browser: true,
572
572
  extensions: ['.js', '.jsx']
573
573
  }),
574
- commonjs(),
575
- nodePolyfills(),
576
- rollupJson(),
577
- jsconfig(this.root),
578
574
  babel({
579
575
  presets: ['@babel/preset-react'],
580
576
  babelHelpers: 'bundled',
577
+ extensions: ['.js', '.jsx'],
581
578
  }),
579
+ commonjs(),
580
+ nodePolyfills(),
581
+ rollupJson(),
582
+ jsconfig(this.root),
582
583
  svgr({svgo: false}),
583
584
  loadConfigs(this.configs),
584
585
  loader(this.loadables),
@@ -613,7 +614,6 @@ export default class App {
613
614
  }
614
615
  return '[name].js';
615
616
  }.bind(this),
616
- manualChunks: manualChunks,
617
617
  },
618
618
  },
619
619
  watch : {
@@ -658,14 +658,14 @@ export default class App {
658
658
  browser: true,
659
659
  extensions: ['.js', '.jsx']
660
660
  }),
661
- commonjs(),
662
- nodePolyfills(),
663
- rollupJson(),
664
- jsconfig(this.root),
665
661
  babel({
666
662
  presets: ['@babel/preset-react'],
667
663
  babelHelpers: 'bundled',
668
664
  }),
665
+ commonjs(),
666
+ nodePolyfills(),
667
+ rollupJson(),
668
+ jsconfig(this.root),
669
669
  svgr({svgo: false}),
670
670
  loadConfigs(this.configs),
671
671
  loader(this.loadables),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/builder",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  "@babel/preset-env": "^7.16.11",
14
14
  "@babel/preset-react": "^7.16.7",
15
15
  "@rollup/plugin-babel": "^5.3.0",
16
- "@rollup/plugin-commonjs": "^21.0.0",
16
+ "@rollup/plugin-commonjs": "^24.0.0",
17
17
  "@rollup/plugin-json": "^5.0.2",
18
18
  "@rollup/plugin-node-resolve": "^13.0.5",
19
19
  "@svgr/rollup": "^6.5.1",