-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
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.
pschyma and alexnault
Metadata
Metadata
Assignees
Labels
No labels