Skip to content

Commit

Permalink
remove echarts
Browse files Browse the repository at this point in the history
  • Loading branch information
cavencj committed Nov 5, 2024
1 parent da419e2 commit d1de26a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const buildConfig = {
glsl(),
sassPlugin(),
],
external: ['@dvgis/dc-common', 'turf', 'echarts'],
external: ['@dvgis/dc-common'],
}

function getTime() {
Expand Down Expand Up @@ -114,7 +114,6 @@ async function buildModules(options) {
...buildConfig.plugins,
GlobalsPlugin({
'@dvgis/dc-common': 'DC_Common',
charts: 'charts',
}),
],
minify: options.minify,
Expand Down Expand Up @@ -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'))
Expand Down

0 comments on commit d1de26a

Please sign in to comment.