mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor(css): attribute selectors match web counterparts (#7848)
* Improve CSS selector parsing/matching by 30% - 40% with some JavaScript optimization and excluding ProxyViewContainer from the process Change the specificity to be divisible to 10 * fix: selector match * fix: lint errors * refactor: restore processing of ProxyViewContainer * chore: lower the number of expected cycles * fix: some css selector fixes Co-authored-by: Manol Donev <manol.donev@gmail.com> Co-authored-by: Manol Donev <manoldonev@users.noreply.github.com> Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5c3ba11d95
commit
c9cea472ca
@@ -12,7 +12,7 @@ const { NativeScriptWorkerPlugin } = require("nativescript-worker-loader/NativeS
|
||||
const TerserPlugin = require("terser-webpack-plugin");
|
||||
const hashSalt = Date.now().toString();
|
||||
|
||||
const ANDROID_MAX_CYCLES = 66;
|
||||
const ANDROID_MAX_CYCLES = 65;
|
||||
const IOS_MAX_CYCLES = 32;
|
||||
let numCyclesDetected = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user