ADF Theme Dev/Prod mode (#2236)

* Add undescore

* Move the scss logic from webpack common to dev/prod
Rollback the change about the color.scss name
This commit is contained in:
Maurizio Vitale
2017-08-22 14:23:46 +01:00
committed by Mario Romano
parent c168a88775
commit 17e6b5eb42
3 changed files with 36 additions and 16 deletions

View File

@@ -45,7 +45,20 @@ module.exports = webpackMerge(commonConfig, {
'happypack/loader?id=ts','angular2-template-loader'
],
exclude: [/node_modules/, /public/, /resources/, /dist/]
}
},
{
test: /\.scss$/,
use: [{
loader: "to-string-loader"
}, {
loader: "raw-loader"
}, {
loader: "sass-loader",
options: {
includePaths: [path.resolve(__dirname, '../../ng2-components/ng2-alfresco-core/styles')]
}
}]
},
]
},