Fix required constraint behavior in lists
Build files to dist folder