svelte-fullscreen
                                
                                
                                
                                    svelte-fullscreen copied to clipboard
                            
                            
                            
                        Error: screenfull does not provide an export named 'default'
When attempting to use this I get the error:
screenfull does not provide an export named 'default'
Hi Bryan, could you bring more details of your project setup?
It's a pretty basic Svelte, Vite/Rollup, TypeScript setup.
Relevant details from package.json:
{
  "name": "my-project",
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "serve": "vite preview"
  },
  "devDependencies": {
    "@sveltejs/vite-plugin-svelte": "^1.0.0-next.17",
    "autoprefixer": "^10.3.4",
    "resize-observer-polyfill": "^1.5.1",
    "svelte": "^3.42.1",
    "svelte-preprocess": "^4.7.4",
    "typescript": "^4.3.5",
    "vite": "^2.5.0"
  },
  "dependencies": {
    "normalize.css": "^8.0.1",
    "svelte-fullscreen": "^2.0.0",
  }
}
                                    
                                    
                                    
                                
I tested it with the default vite configuration and it worked
npm init vite@latest my-svelte-app --template svelte
Can you create a repository with your configuration?
I'll see if I can replicate it in a smaller repo.
I do have more info though - it seems production (default Rollup) builds work just fine, but it's only the Vite dev HMR environment where I see the reported error in the console:

It's an error in the internal dependency, I'm trying to simulate, any news, notice here