12 lines
298 B
JavaScript
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;
|