jakoblind / webpack-autoconf

A tool to create frontend apps using webpack, Parcel or Snowpack
https://createapp.dev/
876 stars 78 forks source link

Problem with CopyPlugin #106

Closed mhsattarian closed 4 years ago

mhsattarian commented 4 years ago

activating CopyPlugin would produce this:

plugins: [
    new CopyPlugin([
      { from: 'src/index.html' }
    ])
]

instead, It should add this to webpack.config.js:

plugins: [
    new CopyPlugin({
+      patterns: [{ from: "src/index.html" }],
    })
],
jakoblind commented 4 years ago

fixed! thanks for reporting!