Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 4m25s
Build & Deploy / 🏗️ Build (push) Failing after 17s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
13 lines
322 B
JavaScript
13 lines
322 B
JavaScript
import { extname } from 'node:path';
|
|
|
|
export async function load(url, context, nextLoad) {
|
|
if (url.endsWith('.css') || url.endsWith('.scss')) {
|
|
return {
|
|
format: 'module',
|
|
shortCircuit: true,
|
|
source: 'export default {};'
|
|
};
|
|
}
|
|
return nextLoad(url, context);
|
|
}
|