Skip to content

Instantly share code, notes, and snippets.

@darlanalves
Created July 5, 2016 11:09
Show Gist options
  • Save darlanalves/8bce333fdec2891991af2ecf3b1790e1 to your computer and use it in GitHub Desktop.
Save darlanalves/8bce333fdec2891991af2ecf3b1790e1 to your computer and use it in GitHub Desktop.
import path from 'path';
console.log(Object.keys(path));
import includePaths from 'rollup-plugin-includepaths';
import builtins from 'rollup-plugin-node-builtins';
let includePathOptions = {
include: {},
paths: ['src'],
external: [],
extensions: ['.js', '.json', '.html']
};
export default {
entry: 'index.js',
format: 'cjs',
dest: 'app.js',
plugins: [
builtins(),
includePaths(includePathOptions)
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment