diff --git a/package.json b/package.json index 320e6d05c..7fec19bac 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,9 @@ "copy:examples": "shx cp -R docs/examples dist/", "build:js": "rollup -c", "build:css": "npm-run-all build:css:*", - "build:css:cdn": "sass --no-source-map src/css/vjs-cdn.scss dist/alt/video-js-cdn.css", + "build:css:cdn": "sass --load-path='./' --no-source-map src/css/vjs-cdn.scss dist/alt/video-js-cdn.css", "postbuild:css:cdn": "postcss --verbose --config postcss.config.js -d dist/alt dist/alt/video-js-cdn.css", - "build:css:default": "sass --no-source-map src/css/vjs.scss dist/video-js.css", + "build:css:default": "sass --load-path='./' --no-source-map src/css/vjs.scss dist/video-js.css", "postbuild:css:default": "postcss --verbose --config postcss.config.js -d dist/ dist/video-js.css", "prebuild:lang": "npm-run-all -s prebuild:lang:*", "prebuild:lang:chinese-s": "shx cp lang/zh-CN.json lang/zh-Hans.json", diff --git a/src/css/video-js.scss b/src/css/video-js.scss index 330e06114..2e22b9c8e 100644 --- a/src/css/video-js.scss +++ b/src/css/video-js.scss @@ -2,7 +2,7 @@ @import "private-variables"; @import "utilities"; -@import "../../node_modules/videojs-font/scss/icons"; +@import "node_modules/videojs-font/scss/icons"; @import "components/layout"; @import "components/big-play";