use webpack to load post and main css