title: Module specific environment variables in nuxt js
body: <p>I have created a custom module which contains server middleware stuff and i register it through ready Nuxt hook</p>
  <pre><code>this.nuxt.hook('ready', ()=&gt; {
         this.addPlugin(/*adding some plugin here*/)})
  </code></pre>
  <p>I want to configure some module level environment variables through <strong>nuxt.config.js</strong> file something like this</p>
  <pre><code> module.exports = {
    ...
    modules: [
      '@custom/test-module'
    ],
    '@custom/test-module': {
      variable1: 'test1',
      variable2: 'test2',
    },
    ...
  }
  </code></pre>
  <p>i am not able to access these variables using <strong>process.env.variable1</strong> in module where i register plugin.</p>
  <p>So please suggest how these variable can be configured in <strong>nuxt.config.js</strong> and accessed in the module.</p>