From aeb2e370b4529c1518717cffbbd04e0595a8a830 Mon Sep 17 00:00:00 2001 From: Emil Stenberg Date: Wed, 10 Dec 2014 12:48:48 +0100 Subject: [PATCH] removed unused code --- app/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/index.js b/app/index.js index a42f9d3..198070e 100644 --- a/app/index.js +++ b/app/index.js @@ -7,7 +7,6 @@ var generalUtils = require('../util.js'); var ReactWebpackGenerator = module.exports = function ReactWebpackGenerator(args, options, config) { yeoman.generators.Base.apply(this, arguments); this.option('es6'); - // this.es6 = this.options.es6; this.argument('appname', { type: String, required: false }); this.appname = this.appname || path.basename(process.cwd()); @@ -100,7 +99,7 @@ ReactWebpackGenerator.prototype.packageFiles = function () { this.reactRouter = this.env.options.reactRouter; this.stylesLanguage = this.env.options.stylesLanguage; this.template('../../templates/common/_package.json', 'package.json'); - this.template('../../templates/common/_webpack.config.js', 'webpack.config.js', this, {es6:true}); + this.template('../../templates/common/_webpack.config.js', 'webpack.config.js'); this.template('../../templates/common/_webpack.dist.config.js', 'webpack.dist.config.js'); this.copy('../../templates/common/Gruntfile.js', 'Gruntfile.js'); this.copy('../../templates/common/gitignore', '.gitignore');