Skip to content

Commit c04c6d3

Browse files
fix: disable on modern build
1 parent 8863023 commit c04c6d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export default function nuxtBundleBuddy() {
1414
}
1515
}
1616

17-
const webpackFn = options => (config, { isServer }) => {
17+
const webpackFn = options => (config, { isServer, isModern }) => {
1818
// Only evaluate client bundle
19-
if (isServer) {
19+
if (isServer || isModern) {
2020
return
2121
}
2222

0 commit comments

Comments
 (0)