Skip to content

Instantly share code, notes, and snippets.

@misterdev
Last active March 21, 2019 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misterdev/8600f44658214708cbadcf6bec444105 to your computer and use it in GitHub Desktop.
Save misterdev/8600f44658214708cbadcf6bec444105 to your computer and use it in GitHub Desktop.
1.5
constructor(args, opts) {
super(args, opts);
opts.env.configurations = {
// => each key inside this object will generate a webpack
// => configuration file
dev: {
topScope: [
// => We will place here any code like
// => function definitions and imports
// => that we use in our configuration
],
webpackOptions: {
// => This is a webpack configuration
}
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment