Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Minimally working example for postcss-import where a file that only includes import lines is not represented in the sourcemap.

Notifications You must be signed in to change notification settings

htho/mwe-postcss-import-sourcemap-import-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mwe-postcss-import-sourcemap-import-only

Minimally working example for postcss-import where a file that only includes import lines is not represented in the sourcemap.

setup

npm i

Working Test (with dummy comment)

npm run postcss-ok

Open test.html in your browser.

The dev-tools will show a file named style-withcomment.css In the file, there is the dummy comment, and the import statements.

Failing Test (without dummy comment)

npm run postcss-nok

Open test.html in your browser.

The dev-tools will not show a file named style-withoutcomment.css

About

Minimally working example for postcss-import where a file that only includes import lines is not represented in the sourcemap.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published