mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-15 06:27:21 +00:00
first commit
This commit is contained in:
23
webapp/packages/chat-sdk/rollup/rollup.esm.config.mjs
Normal file
23
webapp/packages/chat-sdk/rollup/rollup.esm.config.mjs
Normal file
@@ -0,0 +1,23 @@
|
||||
import basicConfig from './rollup.config.mjs'
|
||||
// import { terser } from "rollup-plugin-terser"
|
||||
import excludeDependenciesFromBundle from "rollup-plugin-exclude-dependencies-from-bundle"
|
||||
|
||||
const config = {
|
||||
...basicConfig,
|
||||
output: [
|
||||
{
|
||||
file: 'dist/index.es.js',
|
||||
format: 'es',
|
||||
// plugins: [
|
||||
// terser()
|
||||
// ],
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
...basicConfig.plugins,
|
||||
excludeDependenciesFromBundle(),
|
||||
]
|
||||
}
|
||||
|
||||
export default config
|
||||
|
||||
Reference in New Issue
Block a user