@aaqu/fromcubes-portal-react 0.1.0-alpha.8 → 0.1.0-alpha.9

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.
@@ -124,7 +124,7 @@ module.exports = function (RED) {
124
124
  lines.push("if(!window.__pkg) window.__pkg = {};");
125
125
  libs.forEach((lib, i) => {
126
126
  lines.push(`import * as __p${i} from ${JSON.stringify(lib.module)};`);
127
- lines.push(`window.__pkg[${JSON.stringify(lib.module)}] = __p${i};`);
127
+ lines.push(`window.__pkg[${JSON.stringify(lib.module)}] = __p${i}.default || __p${i};`);
128
128
  });
129
129
  }
130
130
  const contents = lines.join("\n");
@@ -136,6 +136,7 @@ module.exports = function (RED) {
136
136
  write: false,
137
137
  target: ["es2020"],
138
138
  define: { "process.env.NODE_ENV": '"production"' },
139
+ logOverride: { "import-is-undefined": "silent" },
139
140
  nodePaths: [path.join(userDir, "node_modules")],
140
141
  });
141
142
  const js = buildResult.outputFiles[0].text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aaqu/fromcubes-portal-react",
3
- "version": "0.1.0-alpha.8",
3
+ "version": "0.1.0-alpha.9",
4
4
  "description": "Fromcubes Portal - React for Node-RED with Tailwind CSS and auto complete",
5
5
  "keywords": [
6
6
  "node-red",