node_modules

This commit is contained in:
saeid
2019-07-15 13:07:31 +04:30
parent d3735c6d30
commit ce1a3ebf9c
35713 changed files with 3639219 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
'use strict';
var matchSourceMappingUrl = /\/\*# sourceMappingURL=[^*]+\*\//;
/**
* Removes the sourceMappingURL comment. This is necessary because the less-loader
* does not know where the final source map will be located. Thus, we remove every
* reference to source maps. In a regular setup, the css-loader will embed the
* source maps into the CommonJS module and the style-loader will translate it into
* base64 blob urls.
*
* @param {string} content
* @returns {string}
*/
function removeSourceMappingUrl(content) {
return content.replace(matchSourceMappingUrl, '');
}
module.exports = removeSourceMappingUrl;