Browse Source

Add source map

pull/787/head
Johann-S 9 years ago
parent
commit
a07fdc9541
  1. 2
      .gitattributes
  2. 15
      Gruntfile.js
  3. 1
      dist/css/ratchet.min.css
  4. 1
      dist/css/ratchet.min.css.map
  5. 2
      dist/js/ratchet.min.js
  6. 1
      dist/js/ratchet.min.js.map
  7. 1
      docs/assets/css/docs.min.css
  8. 1
      docs/assets/css/docs.min.css.map
  9. 1
      docs/dist/css/ratchet.min.css
  10. 1
      docs/dist/css/ratchet.min.css.map
  11. 2
      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: [

1
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

2
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

1
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

1
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

2
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