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