create-dolittle-microservice
Version:
In Norse mythology, the Vanir are a group of gods associated with health, fertility, wisdom, and the ability to see the future.
11 lines (10 loc) • 424 B
JavaScript
const webpack = require('@dolittle/vanir-webpack/frontend');
module.exports = (env, argv) => {
return webpack(env, argv, '{{lowerCase uiPath}}', config => {
config.devServer.port = process.env.port || 9000;
config.devServer.proxy = {
'{{lowerCase uiPath}}/graphql': 'http://localhost:3000',
'/api': 'http://localhost:3000'
};
}, '{{pascalCase applicationName}}');
};