nl_tokens: Return a webpack config object
pl_tokens: function getWebpackConfig ( env = { } , argv = { } ) { env . WP = true ; if ( 'theme' === argv . source ) { argv . <mask> = path . join ( __dirname , 'blank-theme' ) ; argv [ 'output-path' ] = path . join ( __dirname , 'blank-theme' , 'dist' ) ; argv [ 'output-filename' ] = 'blank-theme.js' ; } else { argv . entry = path . join ( __dirname , 'full-site-editing-plugin' ) ; argv [ 'output-path' ] = path . join ( __dirname , 'full-site-editing-plugin' , 'dist' ) ; argv [ 'output-filename' ] = 'full-site-editing-plugin.js' ; } const webpackConfig = getBaseWebpackConfig ( env , argv ) ; return { ... webpackConfig , watch : isDevelopment , devtool : isDevelopment ? 'inline-cheap-source-map' : false , } ; }