aboutsummaryrefslogtreecommitdiff
path: root/node_modules/json-loader/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/json-loader/index.js')
-rw-r--r--node_modules/json-loader/index.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/node_modules/json-loader/index.js b/node_modules/json-loader/index.js
deleted file mode 100644
index ea4f387de..000000000
--- a/node_modules/json-loader/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-module.exports = function (source) {
- if (this.cacheable) this.cacheable();
-
- var value = typeof source === "string" ? JSON.parse(source) : source;
-
- value = JSON.stringify(value)
- .replace(/\u2028/g, '\\u2028')
- .replace(/\u2029/g, '\\u2029');
-
- return `module.exports = ${value}`;
-}