Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewblond committed Aug 20, 2015
1 parent 1837944 commit 08712c8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
14 changes: 9 additions & 5 deletions .enb/make.js
Expand Up @@ -62,11 +62,13 @@ module.exports = function(config) {
[techs.bem.levelsToBemdecl, { target : '.tmp.bemdecl.js' }],
[techs.bem.depsOld, { bemdeclFile : '.tmp.bemdecl.js', target : '.tmp.deps.js' }],
[techs.bem.files, { depsFile : '.tmp.deps.js' }],
[techs.css.stylusWithAutoprefixer, {
[techs.stylus, {
target : '.tmp.dev.css',
browsers : getBrowsers(platform)
autoprefixer : {
browsers : getBrowsers(platform)
}
}],
[techs.css.stylus, {
[techs.stylus, {
target : '.tmp.dev.ie.css',
sourceSuffixes : ['styl', 'ie.styl']
}],
Expand Down Expand Up @@ -153,8 +155,10 @@ module.exports = function(config) {

// Client techs
nodeConfig.addTechs([
[techs.css.stylusWithAutoprefixer, { browsers : getBrowsers(platform) }],
[techs.css.stylus, { target : '?.ie.css', sourceSuffixes : ['styl', 'ie.styl'] }],
[techs.stylus, {
autoprefixer : { browsers : getBrowsers(platform) }
}],
[techs.stylus, { target : '?.ie.css', sourceSuffixes : ['styl', 'ie.styl'] }],
[techs.js, {
filesTarget : '?.js.files'
}],
Expand Down
5 changes: 1 addition & 4 deletions .enb/techs.js
Expand Up @@ -5,10 +5,7 @@ module.exports = {
merge : require('enb/techs/file-merge')
},
bem : require('enb-bem-techs'),
css : {
stylus : require('enb-stylus/techs/css-stylus'),
stylusWithAutoprefixer : require('enb-stylus/techs/css-stylus-with-autoprefixer')
},
stylus : require('enb-stylus/techs/stylus'),
js : require('./techs/js-borschik-include'),
ym : require('enb-modules/techs/prepend-modules'),
engines : {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -39,7 +39,7 @@
"enb-borschik": "^1.5.1",
"enb-diverse-js": "0.1.0",
"enb-modules": "0.2.0",
"enb-stylus": "1.2.3",
"enb-stylus": "2.0.0-rc2",
"borschik-tech-cleancss": "2.0.1",
"gemini": "^0.12.1",
"git-hooks": "~0.0.6",
Expand Down

0 comments on commit 08712c8

Please sign in to comment.