This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
anot
Archived
1
0
Fork 0
anot/rollup.config.prod.js

33 lines
612 B
JavaScript

/**
* 生产版配置
* @author yutent<yutent.io@gmail.com>
* @date 2020/08/13 15:28:39
*/
import uglify from '@bytedo/rollup-plugin-uglify'
import esm from './lib/plugin.esm'
import copyright from './copyright'
export default [
{
input: 'src/anot.js',
output: {
file: 'dist/anot.js',
format: 'iife',
banner: copyright,
name: '_Anot'
},
plugins: [esm(), uglify()]
},
{
input: 'src/anot.touch.js',
output: {
file: 'dist/anot.touch.js',
format: 'iife',
banner: copyright,
name: '_Anot'
},
plugins: [esm(), uglify()]
}
]
前端迷你mvvm框架。基于司徒正美的`avalon2.x`版精简修改而来。
JavaScript 100%