mirror of https://gitee.com/antv-l7/antv-l7
Merge pull request #535 from antvis/chore_build_config
chore: 修改ts 相关配置
This commit is contained in:
commit
30b40f4065
|
@ -36,9 +36,9 @@ module.exports = ({ config }) => {
|
|||
loader: 'svg-inline-loader'
|
||||
}
|
||||
);
|
||||
config.resolve.alias = {
|
||||
'@antv/l7-district': path.resolve(__dirname, '../packages/boundary/src'),
|
||||
}
|
||||
// config.resolve.alias = {
|
||||
// '@antv/l7-district': path.resolve(__dirname, '../packages/boundary/src'),
|
||||
// }
|
||||
|
||||
config.resolve.extensions.push('.ts', '.tsx', 'css', '.js', '.glsl');
|
||||
|
||||
|
|
|
@ -7,7 +7,17 @@
|
|||
"rootDir": "./",
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@antv/l7-*": ["packages/*/src"],
|
||||
"@antv/l7-core": ["packages/core/src"],
|
||||
"@antv/l7-component": ["packages/component/src"],
|
||||
"@antv/l7-layers": ["packages/layers/src"],
|
||||
"@antv/l7-map": ["packages/map/src"],
|
||||
"@antv/l7-maps": ["packages/maps/src"],
|
||||
"@antv/l7-scene": ["packages/scene/src"],
|
||||
"@antv/l7-scene": ["packages/scene/src"],
|
||||
"@antv/l7-renderer": ["packages/renderer/src"],
|
||||
"@antv/l7-three": ["packages/three/src"],
|
||||
"@antv/l7-mini": ["packages/mini/src"],
|
||||
"@antv/l7-utils": ["packages/utils/src"],
|
||||
"@antv/l7": ["packages/l7/src"],
|
||||
"*": ["node_modules", "packages"]
|
||||
}
|
||||
|
|
|
@ -17,8 +17,18 @@
|
|||
"rootDir": "./",
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@antv/l7-district": ["packages/boundary/src"],
|
||||
"@antv/l7-*": ["packages/*/src"],
|
||||
"@antv/l7-core": ["packages/core/src"],
|
||||
"@antv/l7-component": ["packages/component/src"],
|
||||
"@antv/l7-layers": ["packages/layers/src"],
|
||||
"@antv/l7-map": ["packages/map/src"],
|
||||
"@antv/l7-maps": ["packages/maps/src"],
|
||||
"@antv/l7-scene": ["packages/scene/src"],
|
||||
"@antv/l7-scene": ["packages/scene/src"],
|
||||
"@antv/l7-renderer": ["packages/renderer/src"],
|
||||
"@antv/l7-three": ["packages/three/src"],
|
||||
"@antv/l7-source": ["packages/source/src"],
|
||||
"@antv/l7-mini": ["packages/mini/src"],
|
||||
"@antv/l7-utils": ["packages/utils/src"],
|
||||
"@antv/l7": ["packages/l7/src"],
|
||||
"*": ["node_modules", "packages", "typings/*"]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue