Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
v1.4.0-beta.2 - Fix font path
Browse files Browse the repository at this point in the history
  • Loading branch information
jducro committed Oct 22, 2018
1 parent 313f453 commit b87fbc5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 11 deletions.
9 changes: 6 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import babel from 'rollup-plugin-babel';
import scss from 'rollup-plugin-scss';
import sass from 'rollup-plugin-sass';
import copy from 'rollup-plugin-copy';
import tildeImporter from 'node-sass-tilde-importer';

Expand Down Expand Up @@ -87,9 +87,12 @@ module.exports = [
name: 'reactComponentsStyle'
},
plugins: [
scss({
sass({
importer: tildeImporter,
output: 'dist/main.css'
output: 'dist/main.css',
options: {
data: '$dp-styles-font-path: \'./fonts/\';'
}
})
]
}
Expand Down
38 changes: 30 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5358,6 +5358,17 @@ fs-extra@^0.26.4:
path-is-absolute "^1.0.0"
rimraf "^2.2.8"

fs-extra@^0.30.0:
version "0.30.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
integrity sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=
dependencies:
graceful-fs "^4.1.2"
jsonfile "^2.1.0"
klaw "^1.0.0"
path-is-absolute "^1.0.0"
rimraf "^2.2.8"

fs-extra@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291"
Expand Down Expand Up @@ -8218,7 +8229,7 @@ node-sass-tilde-importer@^1.0.2:
dependencies:
find-parent-dir "^0.3.0"

node-sass@^4.5.3, node-sass@^4.9.2:
node-sass@^4.9.2:
version "4.9.4"
resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.9.4.tgz#349bd7f1c89422ffe7e1e4b60f2055a69fbc5512"
integrity sha512-MXyurANsUoE4/6KmfMkwGcBzAnJQ5xJBGW7Ei6ea8KnUKuzHr/SguVBIi3uaUAHtZCPUYkvlJ3Ef5T5VAwVpaA==
Expand Down Expand Up @@ -10321,15 +10332,19 @@ rollup-plugin-node-resolve@^3.4.0:
is-module "^1.0.0"
resolve "^1.1.6"

rollup-plugin-scss@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-scss/-/rollup-plugin-scss-0.4.0.tgz#26b57c3c1601fb10087ff28c339e66aaa8b1e638"
integrity sha512-frDGGdzSDF7z1DIYGYuEy2EUQyOACx1EfAojkgHUUkv0VEXgJGWMCKopZDb8VmLS1wE4FgidKH+tr4O3GJqZ6w==
rollup-plugin-sass@^0.9.2:
version "0.9.2"
resolved "https://registry.yarnpkg.com/rollup-plugin-sass/-/rollup-plugin-sass-0.9.2.tgz#7d682fd7527a06178d544b537846dce0bf5a1b58"
integrity sha512-/eGRVuwHJdeY5/2RC2oLwnDFH/jMaeKyio3ZFD96ORLAUZ15naTCEBtQ46a6NkaHbNmk/UaTf3ZwGKzBsmZP6A==
dependencies:
node-sass "^4.5.3"
rollup-pluginutils "^2.0.1"
babel-runtime "^6.23.0"
fs-extra "^0.30.0"
pify "^3.0.0"
resolve "^1.5.0"
rollup-pluginutils ">= 1.3.1"
sass "1.7.2"

rollup-pluginutils@^2.0.1, rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3:
"rollup-pluginutils@>= 1.3.1", rollup-pluginutils@^2.3.0, rollup-pluginutils@^2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz#3aad9b1eb3e7fe8262820818840bf091e5ae6794"
integrity sha512-2XZwja7b6P5q4RZ5FhyX1+f46xi1Z3qBKigLRZ6VTZjwbN0K1IFGMlwm06Uu0Emcre2Z63l77nq/pzn+KxIEoA==
Expand Down Expand Up @@ -10442,6 +10457,13 @@ sass-loader@^6.0.6:
neo-async "^2.5.0"
pify "^3.0.0"

sass@1.7.2:
version "1.7.2"
resolved "https://registry.yarnpkg.com/sass/-/sass-1.7.2.tgz#a8ff878ad9dcba65e226c1ccb2c2f3c7a1009578"
integrity sha512-zUm2NXL77WtQDbp4MKgysAxH41Fzs5BnBUogEPi8IKNQ1M5rKoFe46YBXfxr0I+cQX+xbSc//psSdq5eyYhJsg==
dependencies:
chokidar "^2.0.0"

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 b87fbc5

Please sign in to comment.