mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-08-21 11:15:42 +08:00
Merge pull request #146 from halkeye/patch-1
update baseRootPath to be happier with npm@3
This commit is contained in:
@@ -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({
|
||||
|
||||
|
||||
Reference in New Issue
Block a user