We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
removeNodeProtocol
1 parent 7847902 commit 90cd66bCopy full SHA for 90cd66b
src/config/options.ts
@@ -110,9 +110,13 @@ export async function resolveUserConfig(
110
logger.warn('`bundle` option is deprecated. Use `unbundle` instead.')
111
}
112
113
- if (removeNodeProtocol && nodeProtocol) {
114
- throw new TypeError(
115
- '`removeNodeProtocol` is deprecated. Please only use `nodeProtocol` instead.',
+ if (removeNodeProtocol) {
+ if (nodeProtocol)
+ throw new TypeError(
116
+ '`removeNodeProtocol` is deprecated. Please only use `nodeProtocol` instead.',
117
+ )
118
+ logger.warn(
119
+ '`removeNodeProtocol` is deprecated. Use `nodeProtocol: "strip"` instead.',
120
)
121
122
0 commit comments