Skip to content

Commit 4263d97

Browse files
Merge pull request #12 from CastleCSS/Sourcemaps-don't-point-to-the-correct-scss-file-#11
Sourcemap fix
2 parents 29544df + 40814c7 commit 4263d97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Gruntfile.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ module.exports = function(grunt) {
2424
postcss: {
2525
dist: {
2626
src: 'dist/css/styles.min.css'
27-
2827
},
2928
options: {
3029
// Rewrite and save sourcemap as seperate file
3130
map: {
32-
annotation: 'styles/'
31+
inline: false
3332
},
3433
processors: [
3534
// add fallbacks for rem units
@@ -60,7 +59,7 @@ module.exports = function(grunt) {
6059
},
6160
}
6261
},
63-
62+
6463
nunjucks: {
6564
render: {
6665
options: {
@@ -93,7 +92,7 @@ module.exports = function(grunt) {
9392
server: './dist/'
9493
}
9594
}
96-
95+
9796
}
9897

9998

styles/styles.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)