🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
15
node_modules/strip-bom-string/index.js
generated
vendored
Normal file
15
node_modules/strip-bom-string/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*!
|
||||
* strip-bom-string <https://github.com/jonschlinkert/strip-bom-string>
|
||||
*
|
||||
* Copyright (c) 2015, 2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function(str) {
|
||||
if (typeof str === 'string' && str.charAt(0) === '\ufeff') {
|
||||
return str.slice(1);
|
||||
}
|
||||
return str;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue