hefeihvac_java/node_modules/claygl/rollup.config.js

22 lines
418 B
JavaScript
Raw Permalink Normal View History

2024-04-07 18:15:00 +08:00
import commonjs from 'rollup-plugin-commonjs';
export default {
input: 'src/claygl.js',
plugins: [
commonjs({
include: 'src/dep/*',
})
],
// sourceMap: true,
output: [
{
format: 'umd',
name: 'clay',
file: 'dist/claygl.js'
},
{
format: 'es',
file: 'dist/claygl.es.js'
}
]
};