Skip to content

Commit

Permalink
Merge pull request #270 from pantheon-systems/ag/pcc-1371/preview-pub…
Browse files Browse the repository at this point in the history
…lish-to-local-targets

[PCC-1371] Fix preview and publish to local targets
  • Loading branch information
a11rew authored Jun 5, 2024
2 parents 1a4758d + 61363af commit f9e4eee
Show file tree
Hide file tree
Showing 22 changed files with 1,596 additions and 1,041 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-dogs-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@pantheon-systems/pcc-sdk-core": patch
---

Fixes issue where redirects to local preview/publish targets would be redirected to https://localhost
8 changes: 8 additions & 0 deletions .changeset/rich-jeans-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@pantheon-systems/pcc-react-sdk": patch
"@pantheon-systems/pcc-vue-sdk": patch
"@pantheon-systems/pcc-sdk-core": patch
"@pantheon-systems/pcc-cli": patch
---

Removes inline sourcemaps. Sourcemaps are still provided, just linked in separate files instead.
4 changes: 2 additions & 2 deletions local_testing/testpages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dependencies": {
"@pantheon-systems/pcc-react-sample-library": "workspace:*",
"next": "^14.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@types/node": "^20.11.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/cli/index.ts"],
treeshake: true,
sourcemap: "inline",
sourcemap: true,
minify: true,
clean: true,
splitting: false,
Expand Down
Loading

0 comments on commit f9e4eee

Please sign in to comment.