Skip to content

Commit

Permalink
join --> resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaslee119 authored and 李 立 committed Oct 11, 2017
1 parent 33a7318 commit c256ca7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ module.exports = {
isCodeSplit: false,
extractor : extractor,
ext: '.tpl',
srcPath : path.join(__dirname, '.'),
builtJSPath : path.join(__dirname, '../assets/js'),
builtCSSPath : path.join(__dirname, '../assets/css'),
builtTemplatePath : path.join(__dirname, '../assets/templates'),
srcPath : path.resolve(__dirname, '.'),
builtJSPath : path.resolve(__dirname, '../assets/js'),
builtCSSPath : path.resolve(__dirname, '../assets/css'),
builtTemplatePath : path.resolve(__dirname, '../assets/templates'),
},
},
],
Expand Down
10 changes: 5 additions & 5 deletions test/fixture/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
},
resolveLoader: {
alias: {
'webpack-component-loader': path.join(__dirname, '../../index.js'),
'webpack-component-loader': path.resolve(__dirname, '../../index.js'),
},
},
module: {
Expand All @@ -31,10 +31,10 @@ module.exports = {
isCodeSplit: false,
extractor : extractor,
ext: '.tpl',
srcPath : path.join(__dirname, '.'),
builtJSPath : path.join(__dirname, '../assets/js'),
builtCSSPath : path.join(__dirname, '../assets/css'),
builtTemplatePath : path.join(__dirname, '../assets/templates'),
srcPath : path.resolve(__dirname, '.'),
builtJSPath : path.resolve(__dirname, '../assets/js'),
builtCSSPath : path.resolve(__dirname, '../assets/css'),
builtTemplatePath : path.resolve(__dirname, '../assets/templates'),
},
},
],
Expand Down

0 comments on commit c256ca7

Please sign in to comment.