Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PCC-1371] Fix preview and publish to local targets #270

Merged
merged 18 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading