Skip to content

Commit

Permalink
feat: add makeswift next.js plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewvolk committed Jun 17, 2024
1 parent 9fef5ad commit 2f110bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// @ts-check
const createWithMakeswift = require('@makeswift/runtime/next/plugin');
const createNextIntlPlugin = require('next-intl/plugin');

const withMakeswift = createWithMakeswift();
const withNextIntl = createNextIntlPlugin();

const cspHeader = `
Expand Down Expand Up @@ -39,4 +41,4 @@ const nextConfig = {
},
};

module.exports = withNextIntl(nextConfig);
module.exports = withMakeswift(withNextIntl(nextConfig));

0 comments on commit 2f110bd

Please sign in to comment.