2017-07-11 23:09:29 +03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const envs = {
|
|
|
|
SERVICE_DOMAIN: 'https://data-missioncontrol.dev.mozaws.net'
|
|
|
|
};
|
|
|
|
// Set environment variables to their default values if not defined
|
|
|
|
Object
|
|
|
|
.keys(envs)
|
|
|
|
.forEach(env => (typeof(process.env[env]) === 'undefined') && (process.env[env] = envs[env]));
|
|
|
|
|
2017-06-29 07:14:44 +03:00
|
|
|
module.exports = {
|
2017-06-30 02:05:43 +03:00
|
|
|
options: {
|
2017-07-05 21:34:15 +03:00
|
|
|
output: 'dist',
|
2017-06-30 02:05:43 +03:00
|
|
|
source: 'frontend'
|
|
|
|
},
|
2017-06-29 07:14:44 +03:00
|
|
|
use: [
|
2018-03-27 00:48:44 +03:00
|
|
|
'neutrino-preset-mozilla-frontend-infra/react',
|
|
|
|
['@neutrinojs/env', Object.keys(envs)],
|
2018-11-14 19:50:37 +03:00
|
|
|
'@neutrinojs/jest'
|
2017-06-29 07:14:44 +03:00
|
|
|
]
|
|
|
|
};
|