Skip to content

Commit

Permalink
Fix bug with react-py "Cannot use import statement outside a module"
Browse files Browse the repository at this point in the history
  • Loading branch information
nietoga committed Jul 19, 2023
1 parent 8c63092 commit 53e4982
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
}
reactStrictMode: true,
transpilePackages: ['react-py'],
};

module.exports = nextConfig
module.exports = nextConfig;

0 comments on commit 53e4982

Please sign in to comment.