title: Uncaught ReferenceError: process is not defined vuejs, vuex , Webpack SSR
body: <p>getting error when i define production configuration in webpack</p>
  
  <p>Error:</p>
  
  <pre><code>Uncaught ReferenceError: process is not defined 
  </code></pre>
  
  <p>code like
        console.log(process)</p>
  
  <pre><code>  process.env.NODE_ENV === "production"
  
   if (process.env.NODE_ENV === "production") {
     module.exports.devtool = "#source-map";
     // http://vue-loader.vuejs.org/en/workflow/production.html
      module.exports.plugins = (module.exports.plugins || []).concat([
      new webpack.DefinePlugin({
       "process.env": {
         NODE_ENV: '"production"'
      }
   })
  </code></pre>