inital
This commit is contained in:
12
node_modules/postcss-import/lib/load-content.js
generated
vendored
Normal file
12
node_modules/postcss-import/lib/load-content.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict"
|
||||
|
||||
const readCache = require("read-cache")
|
||||
const dataURL = require("./data-url")
|
||||
|
||||
module.exports = filename => {
|
||||
if (dataURL.isValid(filename)) {
|
||||
return dataURL.contents(filename)
|
||||
}
|
||||
|
||||
return readCache(filename, "utf-8")
|
||||
}
|
Reference in New Issue
Block a user