Skip to content

Commit cf3b635

Browse files
committed
fix(gen): move images to common generator
The images are part of the common files. Moved them from app to common
1 parent 0d045f5 commit cf3b635

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,6 @@ Generator.prototype.packageFiles = function packageFiles() {
256256
this.template('root/_Gruntfile.js', 'Gruntfile.js');
257257
};
258258

259-
Generator.prototype.imageFiles = function imageFiles() {
260-
this.directory('app/images');
261-
};
262-
263259
Generator.prototype._injectDependencies = function _injectDependencies() {
264260
if (this.options['skip-install']) {
265261
this.log(

common/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ Generator.prototype.setupEnv = function setupEnv() {
2626
this.copy('app/favicon.ico');
2727
this.copy('app/robots.txt');
2828
this.copy('app/views/main.html');
29+
this.directory('app/images');
2930
};

0 commit comments

Comments
 (0)