demarches-normaliennes/config/webpack/environment.js
2019-04-03 14:38:07 +02:00

11 lines
271 B
JavaScript

const path = require('path');
const { environment } = require('@rails/webpacker');
const resolve = {
alias: {
'@utils': path.resolve(__dirname, '..', '..', 'app/javascript/shared/utils')
}
};
environment.config.merge({ resolve });
module.exports = environment;