Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// @ts-ignore
require.context('../icons', true);
if (process.env.NODE_ENV === 'production') {
Sentry.init({
dsn: process.env.SENTRY_DSN_JS,
integrations: [
new VueIntegration({ Vue, attachProps: true })
],
environment: process.env.NODE_ENV
});
}
Vue.use(TurbolinksAdapter);
Vue.use(VTooltip);
VTooltip.enabled = window.innerWidth > 768;
Rails.start();
Turbolinks.start();
ActiveStorage.start();