main
DefinePlugin takes care of module invalidation when values have changed
add test case for #6793
added tests