Skip to content

Instantly share code, notes, and snippets.

@codeBelt
Last active November 29, 2020 04:38
Show Gist options
  • Save codeBelt/788d5d4cdd58ca0b8bef764694fc7f19 to your computer and use it in GitHub Desktop.
Save codeBelt/788d5d4cdd58ca0b8bef764694fc7f19 to your computer and use it in GitHub Desktop.
// next.config.js
module.exports = withPlugins(
[],
{
webpack(config) {
config.externals = [...config.externals, { anychart: 'anychart' }];
return config;
},
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment