Skip to content

Instantly share code, notes, and snippets.

@carsonfarmer
Created November 10, 2020 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carsonfarmer/5239bda72f051e3536db4e2051bef6de to your computer and use it in GitHub Desktop.
Save carsonfarmer/5239bda72f051e3536db4e2051bef6de to your computer and use it in GitHub Desktop.
rollup.config.js
import resolve from '@rollup/plugin-node-resolve';
export default {
input: 'index.js',
output: {
dir: 'output',
format: 'cjs',
},
onwarn: (error) => {
console.log(error);
},
plugins: [
resolve(),
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment