const { EnvironmentPlugin } = require ( 'webpack' ) ; module . exports = { webpack ( config ) { process . env . BABEL_ENV = config . name ; config . plugins . push ( new EnvironmentPlugin ( { PLAUSIBLE : 'false' , PREVIEW_BASE_URL : 'https://napari.org' , GOOGLE_CALENDAR_API_KEY : '' , GOOGLE_CALENDAR_ID : '' , ENV : 'dev' , } ) ) ; return config ; } , } ;