Browse Source

Merge pull request #787 from Johann-S/sourceMap

Add source map
pull/811/head
XhmikosR 9 years ago
parent
commit
d5a8d71906
  1. 2
      .gitattributes
  2. 15
      Gruntfile.js
  3. 3
      dist/css/ratchet.min.css
  4. 1
      dist/css/ratchet.min.css.map
  5. 4
      dist/js/ratchet.min.js
  6. 1
      dist/js/ratchet.min.js.map
  7. 3
      docs/assets/css/docs.min.css
  8. 1
      docs/assets/css/docs.min.css.map
  9. 3
      docs/dist/css/ratchet.min.css
  10. 1
      docs/dist/css/ratchet.min.css.map
  11. 4
      docs/dist/js/ratchet.min.js
  12. 1
      docs/dist/js/ratchet.min.js.map

2
.gitattributes vendored

@ -8,3 +8,5 @@
*.svg text eol=lf *.svg text eol=lf
*.xml text eol=lf *.xml text eol=lf
*.yml text eol=lf *.yml text eol=lf
# Don't diff or textually merge source maps
*.map binary

15
Gruntfile.js

@ -192,7 +192,10 @@ module.exports = function (grunt) {
}, },
ratchet: { ratchet: {
src: '<%= meta.distPath %>css/<%= pkg.name %>.css', src: '<%= meta.distPath %>css/<%= pkg.name %>.css',
dest: '<%= meta.distPath %>css/<%= pkg.name %>.min.css' dest: '<%= meta.distPath %>css/<%= pkg.name %>.min.css',
options: {
sourceMap: true
}
}, },
theme: { theme: {
files: { files: {
@ -205,7 +208,10 @@ module.exports = function (grunt) {
'<%= meta.docsAssetsPath %>css/docs.css', '<%= meta.docsAssetsPath %>css/docs.css',
'<%= meta.docsAssetsPath %>css/pygments-manni.css' '<%= meta.docsAssetsPath %>css/pygments-manni.css'
], ],
dest: '<%= meta.docsAssetsPath %>css/docs.min.css' dest: '<%= meta.docsAssetsPath %>css/docs.min.css',
options: {
sourceMap: true
}
} }
}, },
@ -220,7 +226,10 @@ module.exports = function (grunt) {
}, },
ratchet: { ratchet: {
src: '<%= concat.ratchet.dest %>', src: '<%= concat.ratchet.dest %>',
dest: '<%= meta.distPath %>js/<%= pkg.name %>.min.js' dest: '<%= meta.distPath %>js/<%= pkg.name %>.min.js',
options: {
sourceMap: true
}
}, },
docs: { docs: {
src: [ src: [

3
dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

1
dist/css/ratchet.min.css.map vendored

File diff suppressed because one or more lines are too long

4
dist/js/ratchet.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/js/ratchet.min.js.map vendored

File diff suppressed because one or more lines are too long

3
docs/assets/css/docs.min.css vendored

File diff suppressed because one or more lines are too long

1
docs/assets/css/docs.min.css.map

File diff suppressed because one or more lines are too long

3
docs/dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

1
docs/dist/css/ratchet.min.css.map vendored

File diff suppressed because one or more lines are too long

4
docs/dist/js/ratchet.min.js vendored

File diff suppressed because one or more lines are too long

1
docs/dist/js/ratchet.min.js.map vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save