Trouble with sveltekit build
cuire opened this issue · comments
cuire commented
SyntaxError: Named export 'Viewport' not found. The requested module 'pixi-viewport' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'pixi-viewport';
const { Viewport } = pkg;