mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(build): add target (#9018)
This commit is contained in:
parent
8387f6dac6
commit
a97d349cd6
@ -55,7 +55,12 @@ async function buildFullEntry(minify: boolean) {
|
||||
}),
|
||||
]
|
||||
if (minify) {
|
||||
plugins.push(minifyPlugin({ sourceMap: true }))
|
||||
plugins.push(
|
||||
minifyPlugin({
|
||||
target,
|
||||
sourceMap: true,
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
const bundle = await rollup({
|
||||
|
Loading…
Reference in New Issue
Block a user