UNPKG

audio2d

Version:

Easy to use API to add the power of web audio to your game.

22 lines (19 loc) 579 B
'use strict' import pkg from './package.json'; import babel from 'rollup-plugin-babel'; import commonjs from '@rollup/plugin-commonjs'; import resolve from '@rollup/plugin-node-resolve'; const extensions = ['.js', '.jsx', '.ts', '.tsx']; export default { input: './src/index.ts', external: [], plugins: [ resolve({ extensions }), commonjs({ include: 'node_modules/**' }), babel({ extensions, include: ['src/**/*'], runtimeHelpers: true }), ], output: [{ file: pkg.module, format: 'es', }] };