How do I cache bust imported modules in es6?

后端 未结 7 1031
梦谈多话
梦谈多话 2021-01-31 09:21

ES6 modules allows us to create a single point of entry like so:

7条回答
  •  臣服心动
    2021-01-31 09:27

    Just a thought at the moment but you should be able to get Webpack to put a content hash in all the split bundles and write that hash into your import statements for you. I believe it does the second by default.

提交回复
热议问题