DenoDDeno
Powered by
©TriMoon™©
Deno•14mo ago
©TriMoon™

Import type: css ?

is there a way to allow this in deno LSP:
import style from './xxx.css' with { type: 'css' };
import style from './xxx.css' with { type: 'css' };

I get "Importing these modules is not supported."
deno-ts(6263)
deno-ts(6263)


I'm currently using
es-module-shims.js
es-module-shims.js
in my HTML page...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Is dynamic import a slow type?
ThomasTThomas / help
2y ago
Ambiguous linting on import type and jsdoc
vicaryVvicary / help
5mo ago
how do I find a type to import?
dan.the.discloserDdan.the.discloser / help
4y ago
how to import svg in vite without type errors?
scarfSscarf / help
3y ago