mirror of https://gitee.com/antv-l7/antv-l7
chore: remove loadstyle
This commit is contained in:
parent
627256efcb
commit
5aeddc763b
|
@ -103,7 +103,8 @@ module.exports = api => {
|
|||
}
|
||||
],
|
||||
isCDNBundle ? {} : [
|
||||
'transform-import-styles'
|
||||
'transform-import-css-l7'
|
||||
// 'transform-import-styles' // babel 编译将样式打包到js
|
||||
],
|
||||
[
|
||||
// @see https://github.com/babel/babel/issues/8741#issuecomment-509041135
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
"babel-plugin-inline-import": "^3.0.0",
|
||||
"babel-plugin-inline-webgl-constants": "^1.0.1",
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
"babel-plugin-transform-import-css-l7": "^0.0.4",
|
||||
"babel-plugin-transform-import-styles": "^0.0.11",
|
||||
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
||||
"babel-plugin-transform-node-env-inline": "^0.4.3",
|
||||
|
@ -85,7 +86,6 @@
|
|||
"jest-styled-components": "^6.2.1",
|
||||
"lerna": "^3.16.4",
|
||||
"lint-staged": "^9.2.4",
|
||||
"load-styles": "^2.0.0",
|
||||
"node-sass": "^4.12.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss": "^7.0.18",
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
"@babel/runtime": "^7.7.7",
|
||||
"eventemitter3": "^4.0.0",
|
||||
"inversify": "^5.0.1",
|
||||
"load-styles": "^2.0.0",
|
||||
"reflect-metadata": "^0.1.13"
|
||||
},
|
||||
"gitHead": "7eb8382ede52d803fae13a85fe6af074400260ee",
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
"@types/mapbox-gl": "^1.11.2",
|
||||
"gl-matrix": "^3.1.0",
|
||||
"inversify": "^5.0.1",
|
||||
"load-styles": "^2.0.0",
|
||||
"mapbox-gl": "^1.2.1",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"viewport-mercator-project": "^6.2.1"
|
||||
|
|
|
@ -24,4 +24,5 @@
|
|||
"linterOptions": {
|
||||
"exclude": ["**/*.d.ts", "**/data/*.ts", "**/*.{test,story}.ts{,x}", "node_modules/**"]
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue