demarches-normaliennes/config/webpack/environment.js
2019-05-02 14:10:48 +02:00

12 lines
298 B
JavaScript

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