refactor: 重构markdown
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
var CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const path = require('path');
|
||||
module.exports = {
|
||||
configureWebpack:{
|
||||
plugins: [
|
||||
// ...
|
||||
new CopyWebpackPlugin([{
|
||||
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')
|
||||
}])
|
||||
// ...
|
||||
],
|
||||
},
|
||||
// configureWebpack:{
|
||||
// plugins: [
|
||||
// // ...
|
||||
// new CopyWebpackPlugin([{
|
||||
// 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')
|
||||
// }])
|
||||
// // ...
|
||||
// ],
|
||||
// },
|
||||
// publicPath: './',
|
||||
transpileDependencies: [
|
||||
'vuetify'
|
||||
|
||||
Reference in New Issue
Block a user