VignetteShader is an addon, and must be imported explicitly, see Installation#Addons.
import { VignetteShader } from 'three/addons/shaders/VignetteShader.js';
Based on PaintEffect postprocess from ro.me.
examples/jsm/shaders/VignetteShader.js