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
importsString+=`import * as ${packageName} from ${item[1].replace(/`/g,`'`)};\n`;
Plugin will transform require('./a.css') into import * as __require_for_vite_ygkiDV from './a.css';
In Vite 4.0.0, it will console a warning.Default and named imports from CSS files are deprecated. Use the ?inline query instead.
The text was updated successfully, but these errors were encountered:
vite-plugins/packages/vite-plugin-commonjs/src/lib.ts
Line 36 in 568f5b7
Plugin will transform
require('./a.css')
intoimport * as __require_for_vite_ygkiDV from './a.css';
In Vite 4.0.0, it will console a warning.
Default and named imports from CSS files are deprecated. Use the ?inline query instead.
The text was updated successfully, but these errors were encountered: