Skip to content

Commit 3c8ba0c

Browse files
fxbmadyankin
authored andcommitted
Use localByDefault plugin for both local and global behaviours.
1 parent d7cefc4 commit 3c8ba0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/behaviours.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export function getDefaultPlugins({
1616
const scope = modulesScope({ generateScopedName, exportGlobals });
1717

1818
const plugins = {
19-
[behaviours.LOCAL]: [values, localByDefault, extractImports, scope],
20-
[behaviours.GLOBAL]: [values, extractImports, scope],
19+
[behaviours.LOCAL]: [values, localByDefault({ mode: 'local' }), extractImports, scope],
20+
[behaviours.GLOBAL]: [values, localByDefault({ mode: 'global' }), extractImports, scope],
2121
};
2222

2323
return plugins[behaviour];

0 commit comments

Comments
 (0)