var path = require('path');

module.exports = {
    default: {
        path: path.resolve('build/'),
        files: {
            main: 'index.js'
        }
    },
    src: {
        path: path.resolve('src/'),
        files: {
            main: 'index.js'
        }
    }
};

var path = require('path');

module.exports = {
    default: {
        path: path.resolve(__dirname, 'build/'),
        files: {
            main: 'index.js'
        }
    },
    src: {
        path: path.resolve(__dirname, 'src/'),
        files: {
            main: 'index.js'
        }
    }
};

fix path resolving in index.js