We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please support minification of JS to include css modules. For example: import sheet from './styles.css' assert { type: 'css' };
Add the following to JS-file:
import sheet from './styles.css' assert { type: 'css' };
Visual Studio editor highlights the word assert with squiggly green line; Hover over that to get error code: TS1005 (JS): ';' expected.
Error List shows the following error (Bundler & Minifier) Expected ';'
JS file is NOT minified (as a result of the above supposed syntax error).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Installed product versions
Description
Please support minification of JS to include css modules.
For example:
import sheet from './styles.css' assert { type: 'css' };
Steps to recreate
Add the following to JS-file:
import sheet from './styles.css' assert { type: 'css' };
Current behavior
Visual Studio editor highlights the word assert with squiggly green line;
Hover over that to get error code: TS1005 (JS): ';' expected.
Error List shows the following error
(Bundler & Minifier) Expected ';'
JS file is NOT minified (as a result of the above supposed syntax error).
Expected behavior
The text was updated successfully, but these errors were encountered: