From a5a45741503961b5bae264bb29ba7a7002a084fe Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 3 Dec 2021 17:27:30 +0800 Subject: [PATCH] chore: add comment --- .../packages/sass-loader/dist/webpackImporter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vue-cli-plugin-uni/packages/sass-loader/dist/webpackImporter.js b/packages/vue-cli-plugin-uni/packages/sass-loader/dist/webpackImporter.js index b9a6a9b10..48a11937e 100644 --- a/packages/vue-cli-plugin-uni/packages/sass-loader/dist/webpackImporter.js +++ b/packages/vue-cli-plugin-uni/packages/sass-loader/dist/webpackImporter.js @@ -56,6 +56,7 @@ function webpackImporter(resourcePath, resolve, addNormalizedDependency) { // Add the resolvedFilename as dependency. Although we're also using stats.includedFiles, this might come // in handy when an error occurs. In this case, we don't get stats.includedFiles from node-sass. addNormalizedDependency(resolvedFile); + // fixed by xxxxxx const file = resolvedFile.replace(matchCss, '') if (fs.existsSync(file)) { const contents = fs.readFileSync(file, 'utf8') -- GitLab