@embeddable.com/sdk-core 3.5.2 → 3.5.4
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/defineConfig.d.ts +11 -1
- package/lib/index.esm.js +3 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/defineConfig.ts +7 -0
- package/src/defineConfit.test.ts +1 -0
- package/templates/component.tsx.template +4 -1
package/lib/index.js
CHANGED
|
@@ -20980,7 +20980,7 @@ const getPreviewWorkspace = async (ctx) => {
|
|
|
20980
20980
|
}
|
|
20981
20981
|
};
|
|
20982
20982
|
|
|
20983
|
-
var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc = "src", componentsSrc = "src", }) => {
|
|
20983
|
+
var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc = "src", componentsSrc = "src", viteConfig = {}, }) => {
|
|
20984
20984
|
const coreRoot = path__namespace.resolve(__dirname, "..");
|
|
20985
20985
|
const clientRoot = process.cwd();
|
|
20986
20986
|
if (!path__namespace.isAbsolute(componentsSrc)) {
|
|
@@ -21026,11 +21026,12 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
21026
21026
|
applicationEnvironment: applicationEnvironment !== null && applicationEnvironment !== void 0 ? applicationEnvironment : "production",
|
|
21027
21027
|
rollbarAccessToken: rollbarAccessToken !== null && rollbarAccessToken !== void 0 ? rollbarAccessToken : "5c6028038d844bf1835a0f4db5f55d9e",
|
|
21028
21028
|
plugins,
|
|
21029
|
+
viteConfig,
|
|
21029
21030
|
};
|
|
21030
21031
|
};
|
|
21031
21032
|
|
|
21032
21033
|
var name = "@embeddable.com/sdk-core";
|
|
21033
|
-
var version = "3.5.
|
|
21034
|
+
var version = "3.5.4";
|
|
21034
21035
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
21035
21036
|
var keywords = [
|
|
21036
21037
|
"embeddable",
|