diff --git a/rollup.config.js b/rollup.config.js index ad9d0b5e..0857c941 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -44,4 +44,14 @@ export default [ filesize(), ], }, + { + input: './src/cannon-es', + output: { + file: 'dist/cannon-es.amd.js', + format: 'amd', + amd: { + id: 'cannon-es' + } + }, + }, ]