Skip to content

Commit

Permalink
docs: fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Apr 11, 2023
1 parent 7645b18 commit 62c4bf2
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 10 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export type MonkeyOption = {
/**
* auto open install url in default browser when userscript comment change
*
* and set `viteConfig.server.open ??== monkeyConfig.server.open`
* and set `viteConfig.server.open ??= monkeyConfig.server.open`
* @default
* process.platform == 'win32' || process.platform == 'darwin' // if platform is Win/Mac
*/
Expand Down Expand Up @@ -262,7 +262,11 @@ export type MonkeyOption = {
externalResource?: ExternalResource;

/**
* ![img](https://user-images.githubusercontent.com/38517192/222153432-f27e1f3d-af1e-4d7f-a370-60d6a2eefb57.png)
* when use dynamic-import, plugin will use systemjs build your code
*
* `cdn.jsdelivr()[1]` example -> [dynamic-import.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/dynamic-import/dist/dynamic-import.user.js)
*
* `'inline'` exmple -> [test-v3.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/test-v3/dist/test-v3.user.js)
*
* @default
* cdn.jsdelivr()[1]
Expand Down
8 changes: 6 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export type MonkeyOption = {
/**
* auto open install url in default browser when userscript comment change
*
* and set `viteConfig.server.open ??== monkeyConfig.server.open`
* and set `viteConfig.server.open ??= monkeyConfig.server.open`
* @default
* process.platform == 'win32' || process.platform == 'darwin' // if platform is Win/Mac
*/
Expand Down Expand Up @@ -260,7 +260,11 @@ export type MonkeyOption = {
externalResource?: ExternalResource;

/**
* ![img](https://user-images.githubusercontent.com/38517192/222153432-f27e1f3d-af1e-4d7f-a370-60d6a2eefb57.png)
* when use dynamic-import, plugin will use systemjs build your code
*
* `cdn.jsdelivr()[1]` example -> [dynamic-import.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/dynamic-import/dist/dynamic-import.user.js)
*
* `'inline'` exmple -> [test-v3.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/test-v3/dist/test-v3.user.js)
*
* @default
* cdn.jsdelivr()[1]
Expand Down
8 changes: 6 additions & 2 deletions packages/vite-plugin-monkey/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export type MonkeyOption = {
/**
* auto open install url in default browser when userscript comment change
*
* and set `viteConfig.server.open ??== monkeyConfig.server.open`
* and set `viteConfig.server.open ??= monkeyConfig.server.open`
* @default
* process.platform == 'win32' || process.platform == 'darwin' // if platform is Win/Mac
*/
Expand Down Expand Up @@ -262,7 +262,11 @@ export type MonkeyOption = {
externalResource?: ExternalResource;

/**
* ![img](https://user-images.githubusercontent.com/38517192/222153432-f27e1f3d-af1e-4d7f-a370-60d6a2eefb57.png)
* when use dynamic-import, plugin will use systemjs build your code
*
* `cdn.jsdelivr()[1]` example -> [dynamic-import.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/dynamic-import/dist/dynamic-import.user.js)
*
* `'inline'` exmple -> [test-v3.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/test-v3/dist/test-v3.user.js)
*
* @default
* cdn.jsdelivr()[1]
Expand Down
8 changes: 6 additions & 2 deletions packages/vite-plugin-monkey/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export type MonkeyOption = {
/**
* auto open install url in default browser when userscript comment change
*
* and set `viteConfig.server.open ??== monkeyConfig.server.open`
* and set `viteConfig.server.open ??= monkeyConfig.server.open`
* @default
* process.platform == 'win32' || process.platform == 'darwin' // if platform is Win/Mac
*/
Expand Down Expand Up @@ -260,7 +260,11 @@ export type MonkeyOption = {
externalResource?: ExternalResource;

/**
* ![img](https://user-images.githubusercontent.com/38517192/222153432-f27e1f3d-af1e-4d7f-a370-60d6a2eefb57.png)
* when use dynamic-import, plugin will use systemjs build your code
*
* `cdn.jsdelivr()[1]` example -> [dynamic-import.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/dynamic-import/dist/dynamic-import.user.js)
*
* `'inline'` exmple -> [test-v3.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/test-v3/dist/test-v3.user.js)
*
* @default
* cdn.jsdelivr()[1]
Expand Down
8 changes: 6 additions & 2 deletions packages/vite-plugin-monkey/src/node/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export type MonkeyOption = {
/**
* auto open install url in default browser when userscript comment change
*
* and set `viteConfig.server.open ??== monkeyConfig.server.open`
* and set `viteConfig.server.open ??= monkeyConfig.server.open`
* @default
* process.platform == 'win32' || process.platform == 'darwin' // if platform is Win/Mac
*/
Expand Down Expand Up @@ -284,7 +284,11 @@ export type MonkeyOption = {
externalResource?: ExternalResource;

/**
* ![img](https://user-images.githubusercontent.com/38517192/222153432-f27e1f3d-af1e-4d7f-a370-60d6a2eefb57.png)
* when use dynamic-import, plugin will use systemjs build your code
*
* `cdn.jsdelivr()[1]` example -> [dynamic-import.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/dynamic-import/dist/dynamic-import.user.js)
*
* `'inline'` exmple -> [test-v3.user.js](https://github.com/lisonge/vite-plugin-monkey/blob/7645b185605faf9b48c43116db5ea01726188e03/playground/test-v3/dist/test-v3.user.js)
*
* @default
* cdn.jsdelivr()[1]
Expand Down

0 comments on commit 62c4bf2

Please sign in to comment.