From 19959eeb777bef4b1361501dc2ba2e4c785d63e0 Mon Sep 17 00:00:00 2001 From: John Anderson Date: Sat, 11 Mar 2017 18:01:09 -0600 Subject: [PATCH] fix(fixUrls): add param to fix relative urls (#186) --- .gitignore | 3 +- README.md | 6 +- addStyles.js | 20 ++++- fixUrls.js | 63 +++++++++++++++ test/fixUrlsTest.js | 183 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 269 insertions(+), 6 deletions(-) create mode 100644 fixUrls.js create mode 100644 test/fixUrlsTest.js diff --git a/.gitignore b/.gitignore index 30bc162..1b87fb3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/node_modules \ No newline at end of file +/node_modules +.idea/ diff --git a/README.md b/README.md index e0eda40..f557ffc 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,10 @@ By default, the style-loader appends `