From bdd5434f1da2c3af44894665ec0658761cfae8df Mon Sep 17 00:00:00 2001 From: cenfun Date: Mon, 4 Mar 2024 12:24:46 +0800 Subject: [PATCH] fixed sourcemap issue for multiple lines of original text --- scripts/after-all-build.js | 4 ++-- scripts/conf.cli.js | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/after-all-build.js b/scripts/after-all-build.js index 2299ac4..2b45c96 100644 --- a/scripts/after-all-build.js +++ b/scripts/after-all-build.js @@ -3,14 +3,14 @@ const path = require('path'); module.exports = (o, Util) => { - //console.log(o.jobList); + // console.log(o.jobList); const item = o.jobList.find((it) => it.name === 'rosa-ui'); if (!item) { return 0; } - //console.log(item); + // console.log(item); if (!item.production) { return 0; diff --git a/scripts/conf.cli.js b/scripts/conf.cli.js index 30dc11b..460260e 100644 --- a/scripts/conf.cli.js +++ b/scripts/conf.cli.js @@ -8,12 +8,9 @@ module.exports = { test: { coverageProvider: 'v8', coverageOptions: { - // logging: 'debug' - // reports: ['v8', ['html', { - // subdir: 'html' - // }]] + // logging: 'debug', - all: 'packages/rosa-ui/src', + // all: 'packages/rosa-ui/src', sourceFilter: { '**/webpack/**': false,