mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-14 09:15:54 -07:00
chore: add yarn command to put compiled stylesheets into builds folder
This commit is contained in:
parent
7ae453a61c
commit
6e46b46074
6788 changed files with 697992 additions and 12 deletions
19
node_modules/postcss-reporter/lib/util.js
generated
vendored
Normal file
19
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