mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Merge pull request #146 from halkeye/patch-1
update baseRootPath to be happier with npm@3
This commit is contained in:
commit
e7bbcb1fe7
@ -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({
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user