The most important settings:

strictMode: true // Should be always on 

Build target. For browser, and for node: