Skip to content

Commit

Permalink
[Build] optimize config (youzan#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored May 26, 2018
1 parent ea76777 commit a5413ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ module.exports = {
]
},
{
test: /\.md/,
test: /\.md$/,
use: [
'vue-loader',
'fast-vue-md-loader'
]
},
{
test: /\.(ttf|svg)(\?.*)?$/,
test: /\.(ttf|svg)$/,
loader: 'url-loader'
}
]
Expand Down
1 change: 0 additions & 1 deletion build/webpack.doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = Object.assign(config, {
path: path.join(__dirname, '../docs/dist'),
publicPath: 'https://img.yzcdn.cn/zanui/vant/',
filename: '[name].[hash:8].js',
umdNamedDefine: true,
chunkFilename: 'async_[name].[chunkhash:8].js'
}
});

0 comments on commit a5413ae

Please sign in to comment.