mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 20:51:48 +00:00
20 lines
369 B
JavaScript
20 lines
369 B
JavaScript
import basicConfig from './rollup.config.mjs'
|
|
import excludeDependenciesFromBundle from "rollup-plugin-exclude-dependencies-from-bundle"
|
|
|
|
const config = {
|
|
...basicConfig,
|
|
output: [
|
|
{
|
|
file: 'dist/index.es.js',
|
|
format: 'es',
|
|
},
|
|
],
|
|
plugins: [
|
|
...basicConfig.plugins,
|
|
excludeDependenciesFromBundle(),
|
|
]
|
|
}
|
|
|
|
export default config
|
|
|