demarches-normaliennes/config/webpack/environment.js
2018-12-04 11:37:00 +01:00

12 lines
272 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;