Skip to content

Instantly share code, notes, and snippets.

@squadwuschel
Last active July 7, 2017 21:00
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 squadwuschel/9c433d093e3a9c83b8ac762b31c301ec to your computer and use it in GitHub Desktop.
Save squadwuschel/9c433d093e3a9c83b8ac762b31c301ec to your computer and use it in GitHub Desktop.
webpack.common.js in der die BaseUrl angepasst wird
module.exports = function (options) {
isProd = options.env === 'production';
console.log("Webpack Common Options");
console.log(options);
if(options["appname"] !== undefined) {
METADATA.baseUrl = options.appname;
}
return {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment