Skip to content

Commit 4b6c843

Browse files
committed
chore: remove this.cacheable calls as it is true by default
1 parent 65de872 commit 4b6c843

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

lib/loader.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const hotReloadAPIPath = normalize.dep('vue-hot-reload-api')
88
const componentNormalizerPath = normalize.lib('runtime/component-normalizer')
99

1010
module.exports = function (content) {
11-
this.cacheable()
12-
1311
let output = ''
1412

1513
const loaderContext = this

lib/style-compiler/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const trim = require('./plugins/trim')
66
const scopeId = require('./plugins/scope-id')
77

88
module.exports = function (css, map) {
9-
this.cacheable()
109
const cb = this.async()
1110
const loaderOptions = loaderUtils.getOptions(this) || {}
1211
const inlineConfig = (this._compilation.__vueOptions__ || {}).postcss

lib/template-compiler/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const transformRequire = require('./modules/transform-require')
88
const transformSrcset = require('./modules/transform-srcset')
99

1010
module.exports = function (html) {
11-
this.cacheable()
1211
const isServer = this.target === 'node'
1312
const isProduction = this.minimize || process.env.NODE_ENV === 'production'
1413
const vueOptions = this._compilation.__vueOptions__ || {}

lib/template-compiler/preprocessor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const cons = require('consolidate')
44
const loaderUtils = require('loader-utils')
55

66
module.exports = function (content) {
7-
this.cacheable && this.cacheable()
87
const callback = this.async()
98
const opt = loaderUtils.getOptions(this) || {}
109

0 commit comments

Comments
 (0)