Open baracuda69 opened 2 years ago
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).
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