@embeddable.com/sdk-core 3.9.13 → 3.9.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-core",
3
- "version": "3.9.13",
3
+ "version": "3.9.14",
4
4
  "description": "Core Embeddable SDK module responsible for web-components bundling and publishing.",
5
5
  "keywords": [
6
6
  "embeddable",
package/src/generate.ts CHANGED
@@ -135,16 +135,7 @@ async function runStencil(ctx: any): Promise<void> {
135
135
  const compiler = await createCompiler(validated.config);
136
136
  const buildResults = await compiler.build();
137
137
 
138
- if (devMode) {
139
- // Handle process exit to clean up resources
140
- const cleanUp = async () => {
141
- await compiler.destroy();
142
- process.exit(0);
143
- };
144
-
145
- process.on("SIGINT", cleanUp);
146
- process.on("SIGTERM", cleanUp);
147
- } else {
138
+ if (!devMode) {
148
139
  if (buildResults.hasError) {
149
140
  console.error("Stencil build error:", buildResults.diagnostics);
150
141
  throw new Error("Stencil build error");