File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,22 @@ task('copy-json', () => {
7272} ) ;
7373
7474task ( 'styles-global' , ( ) => {
75- return src ( 'styles/styles.scss' ) . pipe ( sass ( ) . on ( 'error' , sass . logError ) ) . pipe ( dest ( 'styles' ) ) ;
75+ return src ( 'styles/styles.scss' )
76+ . pipe (
77+ sass ( {
78+ includePaths : [ 'node_modules' ] ,
79+ } ) . on ( 'error' , sass . logError ) ,
80+ )
81+ . pipe ( dest ( 'styles' ) ) ;
7682} ) ;
7783
7884task ( 'styles-components' , ( ) => {
7985 return src ( [ `src/**/*.scss` , `!src/**/__stories__/**/*.scss` , '!src/widget/**/*.scss' ] )
80- . pipe ( sass ( ) . on ( 'error' , sass . logError ) )
86+ . pipe (
87+ sass ( {
88+ includePaths : [ 'node_modules' ] ,
89+ } ) . on ( 'error' , sass . logError ) ,
90+ )
8191 . pipe ( dest ( path . resolve ( BUILD_CLIENT_DIR , ESM_DIR ) ) )
8292 . pipe ( dest ( path . resolve ( BUILD_CLIENT_DIR , CJS_DIR ) ) ) ;
8393} ) ;
You can’t perform that action at this time.
0 commit comments