forked from mui/toolpad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslintWebpackResolverConfig.js
26 lines (25 loc) · 1.03 KB
/
eslintWebpackResolverConfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const path = require('path');
module.exports = {
context: path.resolve(__dirname),
resolve: {
modules: [__dirname, 'node_modules'],
alias: {
'@mui/docs': path.resolve(__dirname, './node_modules/@mui/monorepo/packages/mui-docs/src'),
'@mui-internal/api-docs-builder': path.resolve(
__dirname,
'./node_modules/@mui/monorepo/packages/api-docs-builder',
),
'@toolpad/studio-components': path.resolve(
__dirname,
'./packages/toolpad-studio-components/src',
),
'@toolpad/studio-runtime': path.resolve(__dirname, './packages/toolpad-studio-runtime/src'),
'@toolpad/utils': path.resolve(__dirname, './packages/toolpad-utils/src'),
'@toolpad/core': path.resolve(__dirname, './packages/toolpad-core/src'),
'@toolpad/studio-tests': path.resolve(__dirname, './test'),
docs: path.resolve(__dirname, './node_modules/@mui/monorepo/docs'),
'docs-toolpad': path.resolve(__dirname, './docs'),
},
extensions: ['.js', '.ts', '.tsx', '.d.ts'],
},
};