From c363407f71e8936590024d1ae8a373ae6ae937e2 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Fri, 20 May 2016 12:37:54 -0500 Subject: [PATCH 1/3] added option to fix relative urls --- .gitignore | 3 +- README.md | 6 +- addStyles.js | 18 ++++- fixUrls.js | 62 +++++++++++++++ test/fixUrlsTest.js | 183 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 266 insertions(+), 6 deletions(-) create mode 100644 fixUrls.js create mode 100644 test/fixUrlsTest.js diff --git a/.gitignore b/.gitignore index 30bc1627..1b87fb32 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 e0eda40b..b87a1ec5 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,10 @@ By default, the style-loader appends `