From 07b02c2a550c1b1df5e29941f57787869f5365c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Fri, 4 Jul 2014 09:24:41 +0200 Subject: [PATCH] Add a buildcfg/readme.md --- buildcfg/readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 buildcfg/readme.md diff --git a/buildcfg/readme.md b/buildcfg/readme.md new file mode 100644 index 0000000000..f69b3c648d --- /dev/null +++ b/buildcfg/readme.md @@ -0,0 +1,12 @@ +# Build configs + +This directory includes configuration files (json) for the tasks/build.js +build script. + +Notes: + +`use_types_for_optimization` is set to `false` for the SIMPLE and WHITESPACE +builds. If it was set to `true` we would get function names like +`ol_control_Control_prototype$setMap` in the compiled code when using the +SIMPLE compilation. `use_types_for_optimization` is only appropriate for +ADVANCED compilation. To be sure we also don't set it for WHITESPACE.