Skip to content

Commit

Permalink
Write sourcemap on same file & update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
notSagyo committed Feb 4, 2022
1 parent dc789cf commit 975f866
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"stylelint-config-lost"],
"rules": {
"at-rule-no-unknown": null,
"at-rule-empty-line-before": ["always", {"except": ["after-same-name"], "ignore": ["after-comment"]}],
"at-rule-empty-line-before": null,
"custom-property-no-missing-var-function": null,
"declaration-empty-line-before": null,
"function-name-case": ["lower", {"ignoreFunctions": ["/\\./"]}],
"indentation": "tab",
"max-empty-lines": null,
"no-invalid-position-at-import-rule": null,
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const buildSass = function() {
.pipe(sourcemaps.init())
.pipe(sass().on('error', sass.logError))
.pipe(postcss(postCssProcessors))
.pipe(sourcemaps.write(''))
.pipe(sourcemaps.write())
.pipe(rename({dirname:''}))
.pipe(gulp.dest(paths.cssDest));
};
Expand Down

0 comments on commit 975f866

Please sign in to comment.