Skip to content

Commit 51d7267

Browse files
committed
feat: disable no-anonymous-default-export in webpack and rollup config
1 parent efa5e1b commit 51d7267

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

bases/base.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,17 @@ module.exports = {
204204
},
205205
],
206206
},
207+
overrides: [
208+
{
209+
files: [
210+
'**/webpack.config.{js,ts}',
211+
'**/webpack.config.*.{js,ts}',
212+
'**/rollup.config.{js,ts}',
213+
'**/rollup.config.*.{js,ts}',
214+
],
215+
rules: {
216+
'import/no-anonymous-default-export': 'off',
217+
},
218+
},
219+
],
207220
};

0 commit comments

Comments
 (0)