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.dev.js

31 lines
502 B
JavaScript
Raw Normal View History

2020-08-13 15:58:18 +08:00
/**
* 开发版配置
* @author yutent<yutent.io@gmail.com>
* @date 2020/08/13 15:28:39
*/
2020-08-12 18:25:03 +08:00
2020-08-13 15:58:18 +08:00
import esm from './lib/plugin.esm'
export default [
2020-08-12 18:25:03 +08:00
{
input: 'src/anot.js',
output: {
file: 'dist/anot.js',
2020-08-13 15:58:18 +08:00
format: 'iife',
sourcemap: true,
name: '_Anot'
2020-08-12 18:25:03 +08:00
},
2020-08-13 15:58:18 +08:00
plugins: [esm()]
2020-08-12 18:25:03 +08:00
},
{
input: 'src/anot.touch.js',
output: {
file: 'dist/anot.touch.js',
2020-08-13 15:58:18 +08:00
format: 'iife',
sourcemap: true,
name: '_Anot'
2020-08-12 18:25:03 +08:00
},
2020-08-13 15:58:18 +08:00
plugins: [esm()]
2020-08-12 18:25:03 +08:00
}
]