7 lines
143 B
JavaScript
7 lines
143 B
JavaScript
var IMPORT_PREFIX_PATTERN = /^@import/i;
|
|
|
|
function isImport(value) {
|
|
return IMPORT_PREFIX_PATTERN.test(value);
|
|
}
|
|
|
|
module.exports = isImport;
|