fix(snapshot): support no-unsafe-eval CSP by evaluating snapshot files on server (#10665)