'use strict' import $ from 'jquery' module.exports = (alerts) => { if ($('#page-type-history').length) { let currentBasePath = ($('#page-type-history').data('entrypath') !== 'home') ? $('#page-type-history').data('entrypath') : '' } }