[Nala]: Remove path map for old $web-components (#33648)

This commit is contained in:
Jay Harris
2026-02-09 21:32:48 +00:00
committed by GitHub
parent 72aadcde96
commit d568c5a05a
3 changed files with 1 additions and 4 deletions
-1
View File
@@ -42,7 +42,6 @@ module.exports = function (genPath) {
'styled-components': path.resolve(
__dirname, '../../node_modules/styled-components'),
// More helpful path for local web-components
'$web-components': path.resolve(__dirname, '../web-components'),
// TODO(petemill): Rename 'brave/components/common' dir to
// 'brave/components/web-common'
'$web-common': path.resolve(__dirname, '../common'),
-1
View File
@@ -129,7 +129,6 @@ module.exports = {
'<rootDir>/components/test/fileMock.ts',
'\\.(css|less|scss)$': 'identity-obj-proxy',
'^\\$web-common\\/(.*)': '<rootDir>/components/common/$1',
'^\\$web-components\\/(.*)': '<rootDir>/components/web-components/$1',
'^brave-ui$': '<rootDir>/node_modules/@brave/brave-ui',
'^brave-ui\\/(.*)': '<rootDir>/node_modules/@brave/brave-ui/$1',
'^\\$test-utils\\/(.*)': '<rootDir>/components/test/$1',
+1 -2
View File
@@ -76,8 +76,7 @@
"../out/Release_arm64/gen/brave/ui/webui/resources/tsc/*",
"../out/Debug_arm64/gen/brave/ui/webui/resources/tsc/*"
],
"$web-common/*": ["components/common/*"],
"$web-components/*": ["components/web-components/*"]
"$web-common/*": ["components/common/*"]
},
"typeRoots": ["./node_modules/@types", "./components/definitions"],
// optional