Skip to content

Commit

Permalink
move cdn build outside packaged files
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart committed Feb 19, 2025
1 parent 761de91 commit b1eb26b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .deployment.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"disabled": $[IS_NIGHTLY],
"bucket": "{terraform.infra.infra.bucket_binaries}",
"directory": "proda/StaticCDN/bueno/v$[BUENO_PATCH_VERSION]",
"source": "packages/bueno/dist/browser",
"source": "packages/bueno/cdn",
"parameters": {
"acl": "public-read"
}
Expand All @@ -33,7 +33,7 @@
"disabled": $[IS_NIGHTLY],
"bucket": "{terraform.infra.infra.bucket_binaries}",
"directory": "proda/StaticCDN/bueno/v$[BUENO_MINOR_VERSION]",
"source": "packages/bueno/dist/browser",
"source": "packages/bueno/cdn",
"parameters": {
"acl": "public-read"
}
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ utils/**/.storybook/**
**/.angular/**
**/.next/**
**/www/**
**/cdn/**
scripts/deploy/execute-deployment-pipeline.mjs
**/staticresources/**
packages/atomic-hosted-page/loader/**/*
Expand All @@ -29,4 +30,3 @@ packages/samples/vuejs/public/lang/*.json
.deployment.config.json
packages/atomic-angular/scripts/build-lit.mjs
packages/atomic-react/scripts/build-lit.mjs
packages/atomic-hosted-page/cdn/**/*
4 changes: 2 additions & 2 deletions packages/bueno/esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function browserEsm() {
return build({
...base,
platform: 'browser',
outfile: 'dist/browser/bueno.esm.js',
outfile: 'cdn/bueno.esm.js',
format: 'esm',
watch: devMode,
});
Expand Down Expand Up @@ -72,7 +72,7 @@ function browserUmd() {
return build({
...base,
platform: 'browser',
outfile: 'dist/browser/bueno.js',
outfile: 'cdn/bueno.js',
format: 'cjs',
banner: {
js: `${base.banner.js}`,
Expand Down
2 changes: 1 addition & 1 deletion packages/quantic/build-static-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const LIBRARY_CONFIG = {
],
files: [
{
src: resolveLibraryPath('@coveo/bueno', '../dist/browser/bueno.js'),
src: resolveLibraryPath('@coveo/bueno', '../cdn/bueno.js'),
dest: `${STATIC_RESOURCES_PATH}/coveobueno/browser/bueno.js`,
},
{
Expand Down

0 comments on commit b1eb26b

Please sign in to comment.