Merge pull request #379 from antvis/fix-duplicated-css

docs: fix duplicated antd css
This commit is contained in:
@thinkinggis 2020-05-20 01:00:41 +08:00 committed by GitHub
commit 33e06ab905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1404 additions and 1380 deletions

View File

@ -1,4 +1,3 @@
/* eslint-disable */
import { Scene } from '@antv/l7';
import { CountryLayer } from '@antv/l7-district';
import { Mapbox } from '@antv/l7-maps';

View File

@ -1,7 +1,6 @@
require('./site/css/demo.css');
require('./packages/component/src/css/l7.css');
require('antd/dist/antd.css');
window.geotiff = require('geotiff');
window.g2 = require('@antv/g2');
window.l7 = require('@antv/l7');

View File

@ -132,7 +132,7 @@
"site:deploy": "yarn run site:build && gh-pages -d public",
"site:publish": "gh-pages -d public",
"lint:fix": "prettier --write docs/api/**/*.md docs/api/*.md packages/**/*.ts{,x} packages/**/*.{spec,story}.ts{,x} stories/**/**/*.tsx *.md",
"lint:examples": "eslint examples/**/**/*.js --fix",
"lint:examples": "eslint examples --fix --ext .js",
"prebuild": "run-p tsc lint",
"build": "yarn clean && lerna run build",
"postbuild": "yarn build:declarations",
@ -185,6 +185,5 @@
},
"tnpm": {
"mode": "yarn"
},
"version": "0.0.0"
}
}

View File

@ -137,6 +137,7 @@ describe('uniforms in ReglModel', () => {
expect(model2.uniforms['u_Struct.k'] instanceof ReglTexture2D).toBeTruthy();
// @ts-ignore
expect(
// @ts-ignore
model2.uniforms['u_Struct.l'] instanceof ReglFramebuffer,
).toBeTruthy();
// @ts-ignore
@ -179,6 +180,7 @@ describe('uniforms in ReglModel', () => {
u_4: {
a: 2,
},
// @ts-ignore
u_5: [
{
c: 100, // 只修改第一个

2775
yarn.lock

File diff suppressed because it is too large Load Diff