Reimplements `@import` inlining on top of the new tokenizer.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Tue, 29 Nov 2016 09:48:00 +0000 (10:48 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Fri, 16 Dec 2016 10:49:31 +0000 (11:49 +0100)
commitcacca0d960b04b78ba349f911cba7b752344c03b
treee069cf205af38d5ce846cf5933bdfff959b5fc4b
parent5fec9db70e4aacb8edf593f524fac19b6d86e660
Reimplements `@import` inlining on top of the new tokenizer.

It works roughly the same as the old inliner but at a different
step: not before tokenization but during it.

Thanks to it there's no need to match import URLs in sources,
deal with comments, etc.
History.md
lib/imports/inliner.js [deleted file]
lib/optimizer/basic.js
lib/optimizer/tidy-at-rule.js
lib/urls/rewrite-url.js
lib/utils/read-sources.js
test/integration-test.js
test/protocol-imports-test.js