Etymology
Today it means: In an inconsequential manner. Full definition →
From inconsequential + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.