fix(shadow) plugin#write should avoid anonymous define() module error.
v2.2.4