Skip to content

Commit

Permalink
docs(nxdev): remove partytown usage (#14370)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes authored Jan 16, 2023
1 parent a22bd54 commit 2732365
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions nx-dev/nx-dev/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ copySync(
);

module.exports = withNx({
experimental: {
nextScriptWorkers: true, // Enable PartyTown offloading script strategy
},
// For both client and server
env: {
VERCEL: process.env.VERCEL,
Expand Down
2 changes: 1 addition & 1 deletion nx-dev/nx-dev/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function CustomApp({
{/* HubSpot Analytics */}
<Script
id="hs-script-loader"
strategy="worker"
strategy="afterInteractive"
src="https://js.hs-scripts.com/2757427.js"
/>
{/* Hotjar Analytics */}
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"@babel/preset-typescript": "^7.15.0",
"@cypress/react": "^6.0.0",
"@floating-ui/react-dom": "^1.0.1",
"@nestjs/cli": "^9.0.0",
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/cli": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/swagger": "^6.0.0",
Expand Down Expand Up @@ -264,7 +264,6 @@
}
},
"dependencies": {
"@builder.io/partytown": "^0.6.1",
"@docsearch/react": "^3.3.0",
"@headlessui/react": "^1.7.3",
"@heroicons/react": "^2.0.12",
Expand Down Expand Up @@ -327,4 +326,3 @@
]
}
}

5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2339,11 +2339,6 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@builder.io/partytown@^0.6.1":
version "0.6.4"
resolved "https://registry.yarnpkg.com/@builder.io/partytown/-/partytown-0.6.4.tgz#8610c9e73cc52a95b963c1878760ebe628eee048"
integrity sha512-W6C7O0eSg6YNujHYZozXK5iJ+V69QVLLLRv+NlmYh1vFe0PUJ3kmAhRCx7rUqI3XAA/KpdyfdxLoopBg3GlfVA==

"@cnakazawa/watch@^1.0.3":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a"
Expand Down

1 comment on commit 2732365

@vercel
Copy link

@vercel vercel bot commented on 2732365 Jan 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.