-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
35 lines (35 loc) · 1.11 KB
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// var CopyWebpackPlugin = require('copy-webpack-plugin')
// var path = require('path')
module.exports = {
chainWebpack: config => {
config.module
.rule('md')
.test(/\.md$/)
.use('html-loader')
.loader('html-loader')
.end()
.use('markdown-loader')
.loader('markdown-loader')
.end()
}
// configureWebpack: {
// plugins: [
// new CopyWebpackPlugin({
// patterns: [
// // {
// // from: 'node_modules/mavon-editor/dist/highlightjs',
// // to: path.resolve(__dirname, '../dist/highlightjs') // 插件将会把文件导出于/dist/highlightjs之下
// // },
// // {
// // from: 'node_modules/mavon-editor/dist/markdown',
// // to: path.resolve(__dirname, '../dist/markdown') // 插件将会把文件导出于/dist/markdown之下
// // },
// // {
// // from: 'node_modules/mavon-editor/dist/katex', // 插件将会把文件导出
// // to: path.resolve(__dirname, '../dist/katex')
// // }
// ]
// })
// ]
// }
}