title: How to use CopyWebpackPlugin in nuxt.config.js?
body: <p>I trying to use this and it doesn't work:</p>
  
  <pre><code>build: {
     extend: (config) =&gt; {
              config.plugins.push(
                  new CopyWebpackPlugin([
                    {
                      from: path.join(__dirname, 'node_modules/EXAMPLEPACKAGE/static'),
                      to: path.join(__dirname, 'static/example/')
                    }
                  ])
              );
  
      },
  },
  </code></pre>
  
  <p>I also tried like this</p>
  
  <pre><code>build: {
      plugins: [
          new CopyWebpackPlugin([
                    {
                      from: path.join(__dirname, 'node_modules/EXAMPLEPACKAGE/static'),
                      to: path.join(__dirname, 'static/example/')
                    }
          ])
      ]
  }
  </code></pre>
  
  <p>How to use CopyWebpackPlugin in nuxt.config.js?</p>