aurelia / cli

The Aurelia 1 command line tool. Use the CLI to create projects, scaffold components, and bundle your app for release.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating CopyWebpackPlugin (> 6.0.0) breaking changes

ivanbacher opened this issue · comments

commented

When updating CopyWebpackPlugin v > 6.0.0 the following code as the be changed in webpack.config

FROM

...when(!tests, new CopyWebpackPlugin([
      { from: 'static', to: outDir, ignore: ['.*'] }])), // ignore dot (hidden) files

TO

..when(!tests, new CopyWebpackPlugin({
      patterns: [
        { from: 'static', to: outDir, globOptions: { ignore: ['.*'] } }
      ]
    }))