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.
1 parent eb34ee0 commit bb8b62dCopy full SHA for bb8b62d
src/index.ts
@@ -199,10 +199,7 @@ export const nodePolyfills = (options: PolyfillOptions = {}): Plugin => {
199
build: {
200
rollupOptions: {
201
onwarn: (warning, rollupWarn) => {
202
- handleCircularDependancyWarning(warning, rollupWarn)
203
-
204
- // Make sure the predefined `onwarn` handler is called too.
205
- config.build?.rollupOptions?.onwarn?.(warning, rollupWarn)
+ handleCircularDependancyWarning(warning, config.build?.rollupOptions?.onwarn ?? rollupWarn)
206
},
207
plugins: [
208
{
0 commit comments