forked from module-federation/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add automic page-map generation (module-federation#101)
* refactor(demo): move `3002-checkout` pages to 'src/pages/' folder for testing different nextjs behavior * feat: add automic page map creation if `./pages-map` entry does not provided in next.config.js * chore(demo): add page `exposed-pages` in every app * refactor: fix Menu restoration in main app; clear console.log in package * refactor: run prettier on all codebase * refactor: add `extraOptions.exposePages: boolean` option for automatically addition of nextjs pages and their pageMap to NextFederationPlugin * demo: add some notes about problems on main page of demo app * fix: problem with image/url loader when `__webpack_require__.p` does not contain hostname * demo: small cleanup * flip options to enable from disable * update build process * update package build ref * chore: add lib folder to .gitignore * refactor(demo): switch on new options enableImageLoaderFix: true, enableUrlLoaderFix: true, * docs: add info about `extraOptions` * docs: small improvements * docs: small improvements * fix: use endsWith to detect .js/.mjs file paths (module-federation#102) Co-authored-by: ScriptedAlchemy <[email protected]> Co-authored-by: Elad Ossadon <[email protected]>
- Loading branch information
1 parent
ee34763
commit 87b61a2
Showing
59 changed files
with
4,048 additions
and
519 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 |
---|---|---|
|
@@ -104,4 +104,4 @@ dist | |
# TernJS port file | ||
.tern-port | ||
/.idea/ | ||
/yarn.lock | ||
lib/ |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ demo | |
src | ||
rollup.config.js | ||
*.log | ||
/yarn.lock |
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,2 @@ | ||
.next | ||
lib |
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 |
---|---|---|
@@ -1 +1,7 @@ | ||
{} | ||
{ | ||
"singleQuote": true, | ||
"arrowParens": "always", | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"trailingComma": "es5" | ||
} |
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.