摘要: fetch() does the same thing as XHR, but fetch return a promise. Check the reponse API here: Link Besides text(), you can use json() or blob(). 'no-cor 阅读全文
posted @ 2016-06-25 21:06 Zhentiw 阅读(367) 评论(0) 推荐(0)
摘要: You can fine tune several webpack plugins to make your bundle as small as it can be for your specific application. However there are a few things you 阅读全文
posted @ 2016-06-25 01:51 Zhentiw 阅读(272) 评论(0) 推荐(0)
摘要: When you have a dependency that does not export itself properly, you can use the exports-loader to force it to export the pieces of the file that you 阅读全文
posted @ 2016-06-25 01:22 Zhentiw 阅读(262) 评论(0) 推荐(0)