ggabcd-meshwalk
Version:
MeshWalk.js is a JS library which helps your TPS game development with three.js.
28 lines (26 loc) • 456 B
JavaScript
import babel from '@rollup/plugin-babel';
import { nodeResolve } from '@rollup/plugin-node-resolve';
export default {
input: 'src/index.js',
output: [
{
format: 'umd',
name: 'MW',
file: 'dist/meshwalk.js',
indent: '\t',
},
{
format: 'es',
file: 'dist/meshwalk.module.js',
indent: '\t',
}
],
// sourceMap: false,
plugins: [
nodeResolve(),
babel( {
babelHelpers: 'bundled',
exclude: 'node_modules/**'
} )
]
};