1
Fork 0
cheap-watch/rollup.config.js

17 lines
350 B
JavaScript

import cheap_ts from 'rollup-plugin-cheap-ts';
export default {
input: './src/CheapWatch',
external: name => /^[a-z]/.test(name),
plugins: [cheap_ts()],
output: [
{
file: './dist/CheapWatch.cjs.js',
format: 'cjs',
sourcemap: true,
interop: false,
},
{ file: './dist/CheapWatch.esm.js', format: 'esm', sourcemap: true },
],
};