mirror of
https://github.com/VisActor/VChart
synced 2024-11-21 15:38:37 +00:00
24 lines
479 B
JavaScript
24 lines
479 B
JavaScript
|
|
/**
|
|
* @type {import('@internal/bundler').Config}
|
|
*/
|
|
module.exports = {
|
|
name: 'VChartExtension',
|
|
formats: ['es', 'cjs', 'umd'],
|
|
outputDir: {
|
|
es: 'esm',
|
|
cjs: 'cjs',
|
|
umd: 'build'
|
|
},
|
|
umdOutputFilename: 'index',
|
|
noEmitOnError: false,
|
|
envs: {
|
|
__DEV__: JSON.stringify(process.env.NODE_ENV !== 'production')
|
|
},
|
|
globals: {
|
|
'@visactor/vchart': 'VChart',
|
|
'@visactor/vutils': 'VUtils'
|
|
},
|
|
external: ['@visactor/vchart', '@visactor/vutils']
|
|
};
|