mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
feat(schema): default to bundler
module resolution
This commit is contained in:
parent
bf843636b9
commit
805a64e103
@ -175,7 +175,7 @@ export default defineUntypedSchema({
|
|||||||
*
|
*
|
||||||
* It improves type support when using modern libraries with `exports`.
|
* It improves type support when using modern libraries with `exports`.
|
||||||
*
|
*
|
||||||
* This is only not enabled by default because it could be a breaking change for some projects.
|
* You can set it to false to use the legacy 'Node' mode, which is the default for TypeScript.
|
||||||
*
|
*
|
||||||
* See https://github.com/microsoft/TypeScript/pull/51669
|
* See https://github.com/microsoft/TypeScript/pull/51669
|
||||||
*/
|
*/
|
||||||
@ -186,7 +186,7 @@ export default defineUntypedSchema({
|
|||||||
if (setting) {
|
if (setting) {
|
||||||
return setting.toLowerCase() === 'bundler'
|
return setting.toLowerCase() === 'bundler'
|
||||||
}
|
}
|
||||||
return false
|
return true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user