ucap-lg-web/config/custom.webpack.config.js

19 lines
367 B
JavaScript
Raw Normal View History

2020-03-27 17:43:47 +09:00
const path = require('path');
module.exports = (config, options) => {
const PRODUCTION = process.env.NODE_ENV === 'production';
config.target = 'web';
config.node = {
global: true,
fs: 'empty'
};
2020-05-24 13:46:38 +09:00
config.resolve.alias = {
...config.resolve.alias,
'@ucap/lg-scss': path.resolve(__dirname, '..', 'src/assets/scss')
};
2020-03-27 17:43:47 +09:00
return config;
};