Environment and PackageCompiler.jl

Is PackageCompiler.jl works depending on which environment is activated?
For example, precompiling package A.jl at default env. with replace_default=true option would not affect the same package A.jl in different env.?