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
|
|
|
}
|
|
|
|
]
|