Skip to content

Instantly share code, notes, and snippets.

@codeBelt
Last active April 26, 2019 00:32
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 codeBelt/06e1313d4ff7e1763ecd1d4bf758303c to your computer and use it in GitHub Desktop.
Save codeBelt/06e1313d4ff7e1763ecd1d4bf758303c to your computer and use it in GitHub Desktop.
const path = require('path');
module.exports = function({ env, paths }) {
return {
webpack: {
alias: {
environment: path.join(__dirname, 'src', 'environments', process.env.CLIENT_ENV)
}
},
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment