File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
const MarkdownIt = require ( 'markdown-it' ) ;
2
2
const cheerio = require ( 'cheerio' ) ;
3
- const loaderUtils = require ( 'loader-utils' ) ;
4
3
const path = require ( 'path' ) ;
5
4
const postcss = require ( 'postcss' ) ;
6
5
@@ -70,7 +69,7 @@ function normalizeComponent(script, mixin) {
70
69
}
71
70
72
71
module . exports = function markdownToVueLoader ( source , map ) {
73
- const options = { ...defaultOptions , ...loaderUtils . getOptions ( this ) } ;
72
+ const options = { ...defaultOptions , ...this . getOptions ( ) } ;
74
73
const markdownItOptions = {
75
74
...defaultOptions . markdownItOptions ,
76
75
...options . markdownItOptions ,
Original file line number Diff line number Diff line change 44
44
"homepage" : " https://fengyuanchen.github.io/markdown-to-vue-loader" ,
45
45
"dependencies" : {
46
46
"cheerio" : " ^1.0.0-rc.2" ,
47
- "loader-utils" : " ^1.2.3" ,
48
47
"markdown-it" : " ^10.0.0" ,
49
48
"postcss" : " ^7.0.18"
50
49
},
You can’t perform that action at this time.
0 commit comments