Skip to content

Commit 7453fbc

Browse files
committed
Fixing the paths generated by GCB-sass to be compatible with Webpack 2.X.
1 parent 4391e2d commit 7453fbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gulp-core-build-sass/src/SassTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class SassTask extends GulpTask<ISassTaskConfig> {
208208

209209
if (this.taskConfig.dropCssFiles) {
210210
lines = lines.concat([
211-
`require('${path.basename(file.path, scssTsExtName)}.css');`,
211+
`require('./${path.basename(file.path, scssTsExtName)}.css');`,
212212
exportClassNames
213213
]);
214214
} else if (!!content) {

0 commit comments

Comments
 (0)