Last active
March 21, 2019 16:05
-
-
Save misterdev/734b7f03d012c8fc11b1a9756cdf4956 to your computer and use it in GitHub Desktop.
1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Generator = require('yeoman-generator'); | |
module.exports = class WebpackGenerator extends Generator { | |
constructor(args, opts) { | |
super(args, opts); | |
// => We will initialize our generator here | |
} | |
prompting() { | |
// => This is were we will print the questions to get the user preferences | |
} | |
writing() { | |
// => We will use this method to write our our configuration files to the file system | |
} | |
install() { | |
// => Here we will tell our scaffold how to install the dependencies | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment