This repository was archived by the owner on May 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
vuepress-plugin-container
vuepress-plugin-typescript Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3131 "lint" : " eslint --ext .ts src test"
3232 },
3333 "dependencies" : {
34- "markdown-it-container" : " ^2.0.0"
34+ "markdown-it-container" : " ^2.0.0" ,
35+ "@vuepress/shared-utils" : " ^1.2.0"
3536 }
3637}
Original file line number Diff line number Diff line change 2727 "lint" : " eslint --ext .ts,.vue src test"
2828 },
2929 "dependencies" : {
30+ "cache-loader" : " ^3.0.0" ,
3031 "ts-loader" : " ^7.0.3"
3132 },
3233 "devDependencies" : {
3334 "vue-class-component" : " ^7.1.0" ,
3435 "vue-property-decorator" : " ^8.3.0"
36+ },
37+ "peerDependencies" : {
38+ "typescript" : " *"
3539 }
3640}
Original file line number Diff line number Diff line change @@ -47,14 +47,14 @@ const TypescriptPlugin: Plugin<TypescriptPluginOptions> = (
4747 . rule ( 'ts' )
4848 . test ( / \. t s $ / )
4949 . use ( 'cache-loader' )
50- . loader ( 'cache-loader' )
50+ . loader ( require . resolve ( 'cache-loader' ) )
5151 . options ( {
5252 cacheDirectory,
5353 cacheIdentifier : finalCacheIdentifier ,
5454 } )
5555 . end ( )
5656 . use ( 'ts-loader' )
57- . loader ( 'ts-loader' )
57+ . loader ( require . resolve ( 'ts-loader' ) )
5858 . options ( {
5959 appendTsSuffixTo : [ / \. v u e $ / , / \. m d $ / ] ,
6060 compilerOptions : {
You can’t perform that action at this time.
0 commit comments