-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(engine): make sure inputDir public folder wins over plugins publi…
…c folders
- Loading branch information
Showing
8 changed files
with
60 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@rocket/engine': patch | ||
--- | ||
|
||
Make sure user provided content in the folder `site/public/*` wins over public folders content provided by plugins. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...ine/test-node/fixtures/10-plugins/02-input-folder-public-always-wins/docs/index.rocket.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* START - Rocket auto generated - do not touch */ | ||
export const sourceRelativeFilePath = 'index.rocket.js'; | ||
/* END - Rocket auto generated - do not touch */ | ||
|
||
import { html } from 'lit'; | ||
|
||
export default () => html`<p>content</p>`; |
8 changes: 8 additions & 0 deletions
8
...ures/10-plugins/02-input-folder-public-always-wins/docs/pageTreeData.rocketGenerated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "index.rocket.js", | ||
"menuLinkText": "index.rocket.js", | ||
"url": "/", | ||
"outputRelativeFilePath": "index.html", | ||
"sourceRelativeFilePath": "index.rocket.js", | ||
"level": 0 | ||
} |
1 change: 1 addition & 0 deletions
1
...ic-always-wins/plugin-add-to-public/preset/__public/added-via-plugin-and-input-public.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from plugin |
1 change: 1 addition & 0 deletions
1
...0-plugins/02-input-folder-public-always-wins/public/added-via-plugin-and-input-public.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from input public folder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters