Merge pull request #146 from halkeye/patch-1

update baseRootPath to be happier with npm@3
This commit is contained in:
Chris 2015-09-25 11:34:27 +02:00
commit e7bbcb1fe7

View File

@ -6,7 +6,7 @@ let path = require('path');
let fs = require('fs');
// Set the base root directory for our files
let baseRootPath = path.join(__dirname, '../../node_modules/react-webpack-template');
let baseRootPath = path.dirname(require.resolve("react-webpack-template"));
module.exports = generator.Base.extend({