You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just added version 0.5.0 to a project with Vite at 2.7.10 but I'm getting the following error on build:
import { debug as debug$1 } from 'debug';
^^^^^
SyntaxError: Named export 'debug' not found. The requested module 'debug' 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 'debug';
const { debug: debug$1 } = pkg;
The source of the error is the file node_modules/vite-plugin-compression/dist/index.mjs.
The text was updated successfully, but these errors were encountered:
I just added version 0.5.0 to a project with Vite at 2.7.10 but I'm getting the following error on build:
The source of the error is the file
node_modules/vite-plugin-compression/dist/index.mjs
.The text was updated successfully, but these errors were encountered: