chore: update
This commit is contained in:
1 parent
96cafcb4e7
commit
f141c019cb
15 files changed
+9170
-187
No files matched your search
@@ -0,0 +1,36 @@
|
||||
// rollup.config.js
|
||||
import typescript from '@rollup/plugin-typescript'
|
||||
import json from '@rollup/plugin-json'
|
||||
import dts from 'rollup-plugin-dts'
|
||||
import { uglify } from 'rollup-plugin-uglify'
|
||||
|
||||
const external = [
|
||||
]
|
||||
|
||||
export default [
|
||||
{
|
||||
input: 'src/index.ts',
|
||||
output: [
|
||||
{
|
||||
file: 'dist/index.js',
|
||||
format: 'cjs',
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
typescript(),
|
||||
json(),
|
||||
uglify(),
|
||||
],
|
||||
external,
|
||||
},
|
||||
{
|
||||
input: './typings/index.d.ts',
|
||||
output: {
|
||||
file: 'dist/index.d.ts',
|
||||
format: 'es',
|
||||
},
|
||||
plugins: [
|
||||
dts(),
|
||||
],
|
||||
},
|
||||
]
|
||||
Reference in new issue
Block a user