Commit c06a26c
fix(theme): add path-browserify webpack fallback for browser bundling (#1344)
* fix(theme): add path-browserify webpack fallback for browser bundling
postman-code-generators 2.1.1 introduced a require('path') call in the
dart-dio codegen which Webpack cannot resolve in a browser context.
Adding path-browserify as a resolve.fallback alongside the existing
buffer fallback fixes the build without requiring changes from consumers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(theme): add path-browserify as explicit dependency
Required by the path resolve.fallback added in configureWebpack to
support postman-code-generators 2.1.1+ browser bundling.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e87a82b commit c06a26c
File tree
2 files changed
+3
-0
lines changed- packages/docusaurus-theme-openapi-docs
- src
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
0 commit comments