Neon Tsunami

A blog about Laravel & Rails, written by Dwight Watson.

Following up from an earlier post that described filtering out Moment.js locales with Rails Webpacker, here’s how you can achieve the same…

Occasionally I run into an issue where my RSpec system tests start to fail because they’re unable to connect to the instance. It turns out…

Sometimes you might want to access the root element of your controller when using Stimulus - the element you have the attribute attached…

There’s a slight pain point when loading Moment.js through Webpack in that it pulls in every single locale available, regardless of whether…

Webpack provides a feature known as externals which allows you to instruct it not to bundle any assets that you will provide externally at…

Despite pulling in just one method from Lodash I noticed that when I ran my bundle through Webpack Visualizer I was still importing the…

Ran into a slight issue today while trying to hook up an action with Stimulus , the new JavaScript framework from the people that make…

This solution does not work as expected - please see the comments for some more information regarding first-party support being added by…

It’s changed a little through the different versions of Laravel 5, but it looks as though Laravel 5.5 has just received an official way to…

Ran into an interesting issue today when filling in a form with Laravel Dusk. It ran locally but then failed selecting an input when running…