Skip to content

Commit

Permalink
Merge pull request #74 from antvis/site
Browse files Browse the repository at this point in the history
fix(doc): file name lowercase fix #73
  • Loading branch information
lzxue committed Nov 22, 2019
2 parents 4da43ed + 23211d0 commit e4f9d9d
Show file tree
Hide file tree
Showing 105 changed files with 31,695 additions and 70 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@ public

yarn.lock
package-lock.json
git_log.sh
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ L7 Large-scale WebGL-powered Geospatial data visualization analysis framework

### Features


### Links


Expand Down
44 changes: 22 additions & 22 deletions build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import alias from '@rollup/plugin-alias';
import json from '@rollup/plugin-json';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import { terser } from "rollup-plugin-terser";
import { terser } from 'rollup-plugin-terser';
import analyze from 'rollup-plugin-analyzer';
import babel from 'rollup-plugin-babel';
import glsl from './rollup-plugin-glsl';
import postcss from 'rollup-plugin-postcss';
import url from 'postcss-url';

function resolveFile(filePath) {
return path.join(__dirname, '..', filePath)
return path.join(__dirname, '..', filePath);
}

module.exports = [
Expand All @@ -22,39 +22,39 @@ module.exports = [
format: 'umd',
name: 'L7',
globals: {
'mapbox-gl': 'mapboxgl',
},
'mapbox-gl': 'mapboxgl'
}
},
external: [
'mapbox-gl',
'mapbox-gl'
],
treeshake: true,
plugins: [
alias(
{
resolve: ['.tsx', '.ts'],
resolve: [ '.tsx', '.ts' ],
entries: [
{
find: /^@l7\/(.*)/,
replacement: resolveFile('packages/$1/src'),
},
replacement: resolveFile('packages/$1/src')
}
]
},
}
),
resolve({
browser: true,
preferBuiltins: false,
extensions: ['.js', '.ts'],
extensions: [ '.js', '.ts' ]
}),
glsl(
['**/*.glsl'],
true,
[ '**/*.glsl' ],
true
),
json(),
postcss({
plugins: [
url({ url: 'inline' }),
],
url({ url: 'inline' })
]
}),
// @see https://github.com/rollup/rollup-plugin-node-resolve#using-with-rollup-plugin-commonjs
commonjs({
Expand All @@ -64,23 +64,23 @@ module.exports = [
lodash: [
'isNil',
'uniq',
'clamp',
'clamp',
'isObject',
'isFunction',
'cloneDeep',
'isString',
'isNumber',
],
'isNumber'
]
}
}),
babel({
extensions: ['.js', '.ts'],
extensions: [ '.js', '.ts' ]
}),
terser(),
analyze({
summaryOnly: true,
limit: 20,
}),
],
},
limit: 20
})
]
}
];
2 changes: 1 addition & 1 deletion docs/api/l7.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源

### 技术支持服务群
L7 相关技术问题,需求反馈,我们会及时响应
![地理空间可视化L7支持群](https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*REc9Qrttrg8AAAAAAAAAAABkARQnAQ)
![地理空间可视化L7支持群](https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*ePmsRbK4lZgAAAAAAAAAAABkARQnAQ)
10 changes: 9 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ module.exports = {
slug: '/tutorial',
title: {
zh: '快速入门',
en: 'Quickstart'
en: 'QuickStart'
},
order: 0
},
{
slug: '/tutorial/map',
title: {
zh: '地图',
en: 'MAP'
},
order: 0
},
Expand Down
2 changes: 1 addition & 1 deletion packages/component/src/css/l7.css
Original file line number Diff line number Diff line change
Expand Up @@ -786,4 +786,4 @@
margin-top: 2px;
position: relative;
top: 1px;
}
}
21 changes: 21 additions & 0 deletions packages/core/node_modules/tapable/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4f9d9d

Please sign in to comment.