Skip to content

Commit

Permalink
sass-resources-loader example
Browse files Browse the repository at this point in the history
  • Loading branch information
x-yuri committed Sep 11, 2018
1 parent 560db71 commit 8269d5c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
2 changes: 2 additions & 0 deletions examples/basic/.bootstraprc-3-example
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ env:
- css-loader
- sass-loader
- postcss-loader
- sass-resources-loader?resources=app/styles/resources.scss
production:
extractStyles: true
styleLoaders:
- css-loader
- sass-loader
- postcss-loader
- sass-resources-loader?resources=app/styles/resources.scss

# Customize Bootstrap variables that get imported before the original Bootstrap variables.
# Thus original Bootstrap variables can depend on values from here. All the bootstrap
Expand Down
1 change: 1 addition & 0 deletions examples/basic/app/styles/resources.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$text-color: darkred;
1 change: 1 addition & 0 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"font-awesome": "^4.7.0",
"jquery": "3.3.1",
"popper.js": "1.14.3",
"sass-resources-loader": "^1.3.3",
"tether": "1.4.4"
},
"devDependencies": {
Expand Down
30 changes: 28 additions & 2 deletions examples/basic/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,12 @@ async@^1.5.0:
version "1.5.2"
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"

async@^2.1.4:
version "2.6.1"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610"
dependencies:
lodash "^4.17.10"

async@^2.6.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4"
Expand Down Expand Up @@ -1127,7 +1133,7 @@ [email protected]:
hoek "4.x.x"

"bootstrap-loader@file:../..":
version "2.2.0"
version "3.0.1"
dependencies:
chalk "2.4.1"
escape-regexp "0.0.1"
Expand Down Expand Up @@ -2800,6 +2806,17 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.2, glob@~7.1.1:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.1.1:
version "7.1.3"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

global-dirs@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445"
Expand Down Expand Up @@ -3830,7 +3847,7 @@ loader-runner@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2"

[email protected], loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0:
[email protected], loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.0.4, loader-utils@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd"
dependencies:
Expand Down Expand Up @@ -5782,6 +5799,15 @@ [email protected]:
neo-async "^2.5.0"
pify "^3.0.0"

sass-resources-loader@^1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/sass-resources-loader/-/sass-resources-loader-1.3.3.tgz#90f0e614c444f6dfb8f54ce3e1d5f64a18d31537"
dependencies:
async "^2.1.4"
chalk "^1.1.3"
glob "^7.1.1"
loader-utils "^1.0.4"

sax@^1.2.4, sax@~1.2.1:
version "1.2.4"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
Expand Down

0 comments on commit 8269d5c

Please sign in to comment.