提交 a375a9b9 编写于 作者: S sushuang

tweak

上级 fda1b36f
......@@ -90,6 +90,7 @@ function run() {
build(configs);
// Compatible with prevoius folder structure: `echarts/lib` exists in `node_modules`
// npm run prepublish: `rm -r lib; cp -r src lib`
fsExtra.removeSync(getPath('./lib'));
fsExtra.copySync(getPath('./src'), getPath('./lib'));
......
......@@ -7,7 +7,7 @@
baseUrl: baseUrl,
paths: {
'echarts': 'dist/echarts',
'zrender': '../zrender/dist/zrender',
'zrender': 'node_modules/zrender/dist/zrender',
'geoJson': '../geoData/geoJson',
'theme': 'theme',
'data': 'test/data',
......@@ -23,7 +23,7 @@
baseUrl: baseUrl,
paths: {
'echarts': './',
'zrender': '../zrender',
'zrender': 'node_modules/zrender',
'geoJson': 'geoData/geoJson',
'theme': 'theme',
'data': 'test/data',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册