SharedArrayBuffer with webpack

Does anyone have an example of how to enable cross-origin isolation with webpack to be able to use SharedArrayBuffer?