Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
refactor: remove unused (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankFang authored and evilebottnawi committed Dec 10, 2018
1 parent 80be65e commit 23a979e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions index.js
Expand Up @@ -3,11 +3,8 @@
Author Tobias Koppers @sokra
*/
module.exports = function rawLoader(source) {
this.value = source;

const json = JSON.stringify(source)
.replace(/\u2028/g, '\\u2028')
.replace(/\u2029/g, '\\u2029');

return `module.exports = ${json}`;
};
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -36,8 +36,6 @@
"webpack": "^4.3.0"
},
"dependencies": {
"loader-utils": "^1.1.0",
"schema-utils": "^0.4.5"
},
"devDependencies": {
"@commitlint/cli": "^6.1.3",
Expand Down

0 comments on commit 23a979e

Please sign in to comment.