Skip to content

Commit 71227be

Browse files
authored
fix: unbundle fdir to fix commonjsOptions.dynamicRequireTargets (#19791)
1 parent f530a72 commit 71227be

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

packages/vite/LICENSE.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,21 +1056,6 @@ Repository: git://github.com/primus/eventemitter3.git
10561056
10571057
---------------------------------------
10581058

1059-
## fdir
1060-
License: MIT
1061-
By: thecodrr
1062-
Repository: git+https://github.com/thecodrr/fdir.git
1063-
1064-
> Copyright 2023 Abdullah Atta
1065-
>
1066-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1067-
>
1068-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1069-
>
1070-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1071-
1072-
---------------------------------------
1073-
10741059
## finalhandler
10751060
License: MIT
10761061
By: Douglas Christopher Wilson

packages/vite/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
8787
"dependencies": {
8888
"esbuild": "^0.25.0",
89+
"fdir": "^6.4.3",
8990
"picomatch": "^4.0.2",
9091
"postcss": "^8.5.3",
9192
"rollup": "^4.34.9",

playground/external/vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default defineConfig({
3232
},
3333
commonjsOptions: {
3434
esmExternals: ['vue', 'slash5'],
35+
dynamicRequireTargets: ['test-no-op-fdir-glob'],
3536
},
3637
},
3738
plugins: [

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)