diff --git a/gulpfile.js b/gulpfile.js index e32c497e..9260ee5a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -44,7 +44,7 @@ const buildConfig = { glsl(), sassPlugin(), ], - external: ['@dvgis/dc-common', 'turf', 'echarts'], + external: ['@dvgis/dc-common'], } function getTime() { @@ -114,7 +114,6 @@ async function buildModules(options) { ...buildConfig.plugins, GlobalsPlugin({ '@dvgis/dc-common': 'DC_Common', - charts: 'charts', }), ], minify: options.minify, @@ -157,7 +156,7 @@ async function combineJs(options) { } // combine for node - if (options.node && options.obfuscate) { + if (options.node) { await gulp .src('dist/index.js') .pipe(gulp.dest('dist'))