Skip to content

Commit

Permalink
add json-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Maizify committed Jul 13, 2016
1 parent 6ab6b6c commit 5b21b7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ module.exports = {
test: /\.less$/,
loader: 'style!css!less'
// loader: ExtractTextPlugin.extract('style-loader', 'css-loader!less-loader') // 将css独立打包
},
{
test: /\.json$/, loader: 'json'
}
]
},
Expand Down

0 comments on commit 5b21b7d

Please sign in to comment.