mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Fixed path error for test Grunt task
This commit is contained in:
parent
2a9c61268a
commit
df5cab23d5
@ -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/')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user