UNPKG

gameguard-client

Version:

The client-side companion to the GameGuard that communicates with the server to manage the player and their data.

26 lines (22 loc) 558 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(), babel({ extensions, include: ['src/**/*'] }), ], output: [{ file: pkg.module, format: 'esm', }, { file: `test/${pkg.module}`, format: 'esm' }] };