use custom version of webpack for optional dependancies in amd
add commented improved date string validation