ng6-cli
Version:
Tooling to build applications with Angular 1.5, ES6, and Webpack.
28 lines (19 loc) • 491 B
JavaScript
var Template = require('../../../lib/template');
module.exports = Template.extend({
init: function() {
this._super.apply(this, arguments);
this.description = 'An Ionic directive-based view component with replace enabled.'
},
config: function() {
var config = {
rename: {
'.': {
}
}
};
if( !this.cli.getOption('cssModules') ) {
config.rename['.']['name.module.scss'] = { basename: 'name' };
}
return config;
}
});