Skip to content

Commit aa3163d

Browse files
authored
fix(docs): escape tilde expansion in copy task command instruction (#664)
1 parent fb79f49 commit aa3163d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/routes/copy-library-files/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can also use the [lib config](/configuration) if your site must host these f
1515
For convenience, the Partytown CLI provides a `copylib` task. The last argument should be the directory where the Partytown lib files should be copied to. In the example below, the lib files are copying to the directory `public/~partytown`, relative to the current working directory:
1616

1717
```bash
18-
partytown copylib public/~partytown
18+
partytown copylib 'public/~partytown'
1919
```
2020

2121
This command can be used before a build script. Below is an example of copying the Partytown lib files before a Nextjs build command, using npm scripts:
@@ -24,7 +24,7 @@ This command can be used before a build script. Below is an example of copying t
2424
{
2525
"scripts": {
2626
"build": "npm run partytown && next build",
27-
"partytown": "partytown copylib public/~partytown"
27+
"partytown": "partytown copylib 'public/~partytown'"
2828
}
2929
}
3030
```

0 commit comments

Comments
 (0)