Skip to content

Commit

Permalink
Don't need copy webpack plugin anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Aug 1, 2024
1 parent 3b4e8f3 commit 22557e8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const CopyWebpackPlugin = require('copy-webpack-plugin');
const utils = require('./bin/utils.js');

const appConfig = utils.getAppConfig();
Expand All @@ -8,16 +7,6 @@ const appConfig = utils.getAppConfig();
**/
const nextConfig = {
...(appConfig?.nextConfig ?? {}),
webpack: (config, context) => {
config.plugins.push(
new CopyWebpackPlugin({
patterns: [
{ from: 'next-i18next.config.js', to: '../next-i18next.config.js' },
],
})
);
return config;
},
};

module.exports = nextConfig;

0 comments on commit 22557e8

Please sign in to comment.