Etymology
Today it means: In an inconsequential way, or a way that suggests a lack of consequence Full definition →
From inconsequent + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.