When importing lightship using import createLightship from "lightship"; I get the console error
SyntaxError: Named export 'createLightship' not found. The requested module 'lightship' is a CommonJS module, which may not support all module.exports as named exports.
When importing lightship using
import createLightship from "lightship";
I get the console errorSyntaxError: Named export 'createLightship' not found. The requested module 'lightship' is a CommonJS module, which may not support all module.exports as named exports.