@embeddable.com/sdk-core 3.9.6 → 3.9.8
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 +3 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/dev.ts +1 -1
- package/src/generate.test.ts +1 -1
- package/src/generate.ts +1 -1
package/package.json
CHANGED
package/src/dev.ts
CHANGED
|
@@ -275,7 +275,7 @@ const onBundleBuildEnd = async (ctx: any) => {
|
|
|
275
275
|
const dataModelAndSecurityContextWatcher = (ctx: any): FSWatcher => {
|
|
276
276
|
const fsWatcher = chokidar.watch(
|
|
277
277
|
[
|
|
278
|
-
path.resolve(ctx.client.modelsSrc, "**/*.
|
|
278
|
+
path.resolve(ctx.client.modelsSrc, "**/*.cube.{yaml,yml,js}"),
|
|
279
279
|
path.resolve(ctx.client.presetsSrc, "**/*.{sc,cc}.{yaml,yml}"),
|
|
280
280
|
],
|
|
281
281
|
chokidarWatchOptions,
|
package/src/generate.test.ts
CHANGED
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:
|
|
118
|
+
sourceMap: true, // always generate source maps in both dev and prod
|
|
119
119
|
minifyJs: !devMode,
|
|
120
120
|
minifyCss: !devMode,
|
|
121
121
|
outputTargets: [
|