Changeset - 6c3bb9a845d7
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-25 19:19:58
dominikruf@gmail.com
Grafted from: 6a606653453a
less: generate map files when building style.css with 'npm run less'

The map files allow web development tools ("Firebug" style) to show the .less
and .css source instead of the generated style.css . The generated style.css
will get a trailing comment with a reference to
kallithea/public/css/style.css.map . It will not have any impact on runtime.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
.hgignore
Show inline comments
 
@@ -13,22 +13,22 @@ node_modules/
 
syntax: regexp
 
^rcextensions
 
^build
 
^dist/
 
^docs/build/
 
^docs/_build/
 
^data$
 
^sql_dumps/
 
^\.settings$
 
^\.project$
 
^\.pydevproject$
 
^\.coverage$
 
^kallithea/public/css/style\.css$
 
^kallithea/public/css/style\.css(\.map)?$
 
^theme\.less$
 
^kallithea\.db$
 
^test\.db$
 
^Kallithea\.egg-info$
 
^my\.ini$
 
^fabfile.py
 
^\.idea$
 
^\.cache$
 
/__pycache__$
package.json
Show inline comments
 
{
 
  "name": "kallithea",
 
  "private": true,
 
  "dependencies": {
 
    "bootstrap": "3.3.7"
 
  },
 
  "devDependencies": {
 
    "less": "~2.7",
 
    "less-plugin-clean-css": "~1.5"
 
  },
 
  "scripts": {
 
    "less": "lessc --relative-urls kallithea/public/less/main.less kallithea/public/css/style.css"
 
    "less": "lessc --relative-urls --source-map --source-map-less-inline kallithea/public/less/main.less kallithea/public/css/style.css"
 
  }
 
}
0 comments (0 inline, 0 general)