@embeddable.com/sdk-core 4.0.0-next.0 → 4.0.0-next.1
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.
- package/lib/index.esm.js +4 -2
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/dev.ts +2 -1
- package/src/push.test.ts +7 -7
- package/src/push.ts +21 -20
package/lib/index.esm.js
CHANGED
|
@@ -21997,8 +21997,9 @@ async function archive(args) {
|
|
|
21997
21997
|
archive.pipe(output);
|
|
21998
21998
|
if (!isDev) {
|
|
21999
21999
|
archive.directory(ctx.client.buildDir, false);
|
|
22000
|
+
// NOTE: for backward compatibility, keep the file name as global.css
|
|
22000
22001
|
archive.file(ctx.client.customCanvasCss, {
|
|
22001
|
-
name: "
|
|
22002
|
+
name: "global.css",
|
|
22002
22003
|
});
|
|
22003
22004
|
}
|
|
22004
22005
|
for (const fileData of filesList) {
|
|
@@ -22064,7 +22065,8 @@ let browserWindow = null;
|
|
|
22064
22065
|
let previewWorkspace;
|
|
22065
22066
|
const SERVER_PORT = 8926;
|
|
22066
22067
|
const BUILD_DEV_DIR = ".embeddable-dev-build";
|
|
22067
|
-
|
|
22068
|
+
// NOTE: for backward compatibility, keep the file name as global.css
|
|
22069
|
+
const CUSTOM_CANVAS_CSS = "/global.css";
|
|
22068
22070
|
const buildWebComponent = async (config) => {
|
|
22069
22071
|
await generate(config, "sdk-react");
|
|
22070
22072
|
};
|