mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[Doc] fix tree shaking when build site
This commit is contained in:
@@ -49,6 +49,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /\.less$/,
|
||||
sideEffects: true,
|
||||
use: [
|
||||
'style-loader',
|
||||
'css-loader',
|
||||
@@ -63,10 +64,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /\.md$/,
|
||||
use: [
|
||||
'vue-loader',
|
||||
'@vant/markdown-loader'
|
||||
]
|
||||
use: ['vue-loader', '@vant/markdown-loader']
|
||||
},
|
||||
{
|
||||
test: /\.(ttf|svg)$/,
|
||||
|
Reference in New Issue
Block a user