mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-14 09:15:54 -07:00
chore: install cssbundling rails and set up compilation
This commit is contained in:
parent
09ab4d214e
commit
99ef1cb2c8
4670 changed files with 393937 additions and 25 deletions
19
spec/dummy/node_modules/postcss-reporter/lib/util.js
generated
vendored
Normal file
19
spec/dummy/node_modules/postcss-reporter/lib/util.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
exports.getLocation = function (message) {
|
||||
var messageNode = message.node;
|
||||
|
||||
var location = {
|
||||
line: message.line,
|
||||
column: message.column,
|
||||
};
|
||||
|
||||
var messageInput = messageNode && messageNode.source && messageNode.source.input;
|
||||
|
||||
if (!messageInput) return location;
|
||||
|
||||
var originLocation =
|
||||
messageInput.origin && messageInput.origin(message.line, message.column);
|
||||
if (originLocation) return originLocation;
|
||||
|
||||
location.file = messageInput.file || messageInput.id;
|
||||
return location;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue