2019-11-01 04:42:08 +00:00
|
|
|
const path = require('path');
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
module.exports = (config, options) => {
|
|
|
|
const PRODUCTION = process.env.NODE_ENV === 'production';
|
|
|
|
|
|
|
|
config.target = 'electron-renderer';
|
|
|
|
|
2019-11-01 04:42:08 +00:00
|
|
|
config.resolve.alias = {
|
|
|
|
...config.resolve.alias,
|
|
|
|
'@ucap-webmessenger-scss/ui': path.resolve(
|
|
|
|
__dirname,
|
|
|
|
'..',
|
|
|
|
'projects/ucap-webmessenger-ui/src/assets/scss'
|
|
|
|
)
|
|
|
|
};
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
return config;
|
|
|
|
};
|