demarches-normaliennes/config/webpack/environment.js

12 lines
271 B
JavaScript
Raw Normal View History

2018-10-09 11:32:27 +02:00
const path = require('path');
2018-09-12 10:40:12 +02:00
const { environment } = require('@rails/webpacker');
2018-10-09 11:32:27 +02:00
const resolve = {
alias: {
'@utils': path.resolve(__dirname, '..', '..', 'app/javascript/shared/utils')
}
};
environment.config.merge({ resolve });
2018-09-12 10:40:12 +02:00
module.exports = environment;