Copy-webpack-plugin: Error: Output filename not configured

Created on 17 Jan 2017  路  3Comments  路  Source: webpack-contrib/copy-webpack-plugin

Here is my webpack.config.js

var CopyWebpackPlugin = require('copy-webpack-plugin');
var path = require('path');

module.exports = {
  plugins: [
    new CopyWebpackPlugin([
      {
        from: 'dist/**/*',
        to: 'src/renderer/styles'
      }
    ])
  ]
};

Returns nothing but Output filename not configured.

Running on Mac 10.12.2

All 3 comments

This is an issue with your webpack configuration, not the CopyWebpackPlugin

http://stackoverflow.com/questions/34157313/output-filename-not-configured-error-in-webpack

Hi, i have the same problem, probably i'm using this plugin wrong.
How did you solve it ?

I think the example in the Readme is confusing cause the module doesn't have an entry or output.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

richmeij picture richmeij  路  5Comments

Jocs picture Jocs  路  4Comments

nickenchev picture nickenchev  路  3Comments

amgohan picture amgohan  路  5Comments

smashercosmo picture smashercosmo  路  6Comments