@polylith/builder 0.2.27 → 0.2.29

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 +7 -1
  2. package/package.json +3 -3
package/App.js CHANGED
@@ -390,7 +390,7 @@ export default class App {
390
390
  if (this.manualChunkType != type) {
391
391
  console.warn(`addManualChunk of type ${type} will override previously set of type ${this.manualChunkType}`);
392
392
  if (type === 'object') this.manualChunks = {}
393
- else this.manualChunks === [];
393
+ else this.manualChunks = [];
394
394
  this.manualChunkType = type;
395
395
  }
396
396
 
@@ -773,6 +773,12 @@ export default class App {
773
773
  input : {
774
774
  input: input,
775
775
  plugins: plugins,
776
+ onwarn(warning, warn) {
777
+ if (warning.code === 'MODULE_LEVEL_DIRECTIVE') {
778
+ return
779
+ }
780
+ warn(warning)
781
+ },
776
782
  },
777
783
  output : {
778
784
  output : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/builder",
3
- "version": "0.2.27",
3
+ "version": "0.2.29",
4
4
  "description": "The polylith builder",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -17,10 +17,10 @@
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
19
  "@babel/preset-env": "^7.16.11",
20
- "@babel/preset-react": "^7.22.5",
20
+ "@babel/preset-react": "^7.22.15",
21
21
  "@ondohers/console-colors": "^0.1.1",
22
22
  "@polylith/config-store": "0.1.2",
23
- "@polylith/core": "0.1.10",
23
+ "@polylith/core": "0.1.12",
24
24
  "@rollup/plugin-babel": "^5.3.0",
25
25
  "@rollup/plugin-commonjs": "^24.0.0",
26
26
  "@rollup/plugin-json": "^5.0.2",