Compiling static resources