Skip to content

Commit

Permalink
webpack: add aliases in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jinroh committed Aug 19, 2015
1 parent c229d18 commit e980b92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webpack-demo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ module.exports = {
}
],
},
resolve: {
alias: {
main: __dirname + "/src",
test: __dirname + "/test",
},
},
plugins: [
new webpack.DefinePlugin({
"__DEV__": true,
Expand Down

0 comments on commit e980b92

Please sign in to comment.