@embeddable.com/sdk-core 3.9.6 → 3.9.7

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.6",
3
+ "version": "3.9.7",
4
4
  "description": "Core Embeddable SDK module responsible for web-components bundling and publishing.",
5
5
  "keywords": [
6
6
  "embeddable",
@@ -150,7 +150,7 @@ describe("generate", () => {
150
150
  },
151
151
  ],
152
152
  rootDir: "buildDir",
153
- sourceMap: false,
153
+ sourceMap: true,
154
154
  srcDir: "buildDir/component",
155
155
  tsconfig: "buildDir/tsconfig.json",
156
156
  watchDirs: ["buildDir/buildName"],
package/src/generate.ts CHANGED
@@ -115,7 +115,7 @@ async function runStencil(ctx: any): Promise<void> {
115
115
  tsconfig: path.resolve(ctx.client.buildDir, "tsconfig.json"),
116
116
  namespace: "embeddable-wrapper",
117
117
  srcDir: path.resolve(ctx.client.buildDir, "component"),
118
- sourceMap: !devMode,
118
+ sourceMap: true, // always generate source maps in both dev and prod
119
119
  minifyJs: !devMode,
120
120
  minifyCss: !devMode,
121
121
  outputTargets: [