Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4b6c843

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

File tree

4 files changed

+0
-5
lines changed
Filter options

4 files changed

+0
-5
lines changed

‎lib/loader.js

Copy file name to clipboardExpand all lines: lib/loader.js
-2Lines 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

Copy file name to clipboardExpand all lines: lib/style-compiler/index.js
-1Lines 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

Copy file name to clipboardExpand all lines: lib/template-compiler/index.js
-1Lines 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

Copy file name to clipboardExpand all lines: lib/template-compiler/preprocessor.js
-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.