How to override exported sky?

If I was to use
import { Sky } from 'three/examples/jsm/objects/Sky.js';, how could I ensure the build only uses the added Sky.js instead of exported skybox?
https://threejs.org/examples/webgl_shaders_ocean.html

Original Post on Discord

by user 103054507105067008

What does Sky.js actually do?

(cant access the source from the example url)

have you tried using it?

I think currently its not possible to completely block the camera from setting the scene background. Depending on what is needed we could add that of course

If you right click on the gui menu on the top right at that link you can see the source, it seems to be some Three.js plugin for adding a sky and also another for adding water. The water works fine but when I tried the sky it looked like we had both the skybox and the sky in the build

by user 103054507105067008

Ah okay, I can work with what we have

by user 103054507105067008

Just wondered if there was an override for it

by user 103054507105067008

Topic continued here https://discord.com/channels/717429793926283276/1034777751065989130

by user 103054507105067008