From 3aeb6896e7db9afa2af19399e2b35f62797f7c76 Mon Sep 17 00:00:00 2001 From: Greg Hewett Date: Mon, 21 Nov 2016 09:28:11 -0600 Subject: [PATCH] created failing test for css sourcemaps --- tests/fixtures/basic/input/styles.css | 1 + tests/fixtures/basic/input/styles.css.map | 6 ++++++ tests/fixtures/basic/output/index.html | 2 +- ...6fae.css => styles-6a9c5719fd509d895b7a50a972ed363e.css} | 1 + .../output/styles.css-21087e74e657901034e5668e5b1a5d59.map | 6 ++++++ 5 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 tests/fixtures/basic/input/styles.css.map rename tests/fixtures/basic/output/{styles-daff78e51cc77ea97e75a7fd9c5f6fae.css => styles-6a9c5719fd509d895b7a50a972ed363e.css} (77%) create mode 100644 tests/fixtures/basic/output/styles.css-21087e74e657901034e5668e5b1a5d59.map diff --git a/tests/fixtures/basic/input/styles.css b/tests/fixtures/basic/input/styles.css index 6b1dcc8..8a0ee5b 100644 --- a/tests/fixtures/basic/input/styles.css +++ b/tests/fixtures/basic/input/styles.css @@ -9,3 +9,4 @@ height: 50px; background-image: url('images/sample.png'); } +/*# sourceMappingURL=styles.css.map */ diff --git a/tests/fixtures/basic/input/styles.css.map b/tests/fixtures/basic/input/styles.css.map new file mode 100644 index 0000000..4e9d63a --- /dev/null +++ b/tests/fixtures/basic/input/styles.css.map @@ -0,0 +1,6 @@ +{ + "version": "3", + "mappings": "ABCDE,ABCDE,ABCDE,ABCDE,ABCDE,ABCDE,ABCDE", + "sources": ["styles.css"], + "file": "styles.css" +} diff --git a/tests/fixtures/basic/output/index.html b/tests/fixtures/basic/output/index.html index b7e05ba..4476331 100644 --- a/tests/fixtures/basic/output/index.html +++ b/tests/fixtures/basic/output/index.html @@ -5,7 +5,7 @@ Application - + diff --git a/tests/fixtures/basic/output/styles-daff78e51cc77ea97e75a7fd9c5f6fae.css b/tests/fixtures/basic/output/styles-6a9c5719fd509d895b7a50a972ed363e.css similarity index 77% rename from tests/fixtures/basic/output/styles-daff78e51cc77ea97e75a7fd9c5f6fae.css rename to tests/fixtures/basic/output/styles-6a9c5719fd509d895b7a50a972ed363e.css index a40610c..6f840ad 100644 --- a/tests/fixtures/basic/output/styles-daff78e51cc77ea97e75a7fd9c5f6fae.css +++ b/tests/fixtures/basic/output/styles-6a9c5719fd509d895b7a50a972ed363e.css @@ -9,3 +9,4 @@ height: 50px; background-image: url('images/sample-1f6b78f1b4667adc7e397f7bf94041ab.png'); } +/*# sourceMappingURL=styles.css-21087e74e657901034e5668e5b1a5d59.map */ diff --git a/tests/fixtures/basic/output/styles.css-21087e74e657901034e5668e5b1a5d59.map b/tests/fixtures/basic/output/styles.css-21087e74e657901034e5668e5b1a5d59.map new file mode 100644 index 0000000..4e9d63a --- /dev/null +++ b/tests/fixtures/basic/output/styles.css-21087e74e657901034e5668e5b1a5d59.map @@ -0,0 +1,6 @@ +{ + "version": "3", + "mappings": "ABCDE,ABCDE,ABCDE,ABCDE,ABCDE,ABCDE,ABCDE", + "sources": ["styles.css"], + "file": "styles.css" +}