mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-08-22 12:01:14 +08:00
Fixed path error for test Grunt task
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var path = require('path');
|
||||
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
basePath: '',
|
||||
@@ -45,8 +47,8 @@ module.exports = function (config) {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'styles': './src/styles',
|
||||
'components': './src/scripts/components/'
|
||||
'styles': path.join(process.cwd(), './src/styles/'),
|
||||
'components': path.join(process.cwd(), './src/scripts/components/')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user