Socket
Socket
Sign inDemoInstall

@prisma/nextjs-monorepo-workaround-plugin

Package Overview
Dependencies
0
Maintainers
6
Versions
2552
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @prisma/nextjs-monorepo-workaround-plugin

Ensures that your Prisma files are copied


Version published
Weekly downloads
44K
increased by26.63%
Maintainers
6
Install size
17.7 kB
Created
Weekly downloads
 

Readme

Source

Prisma Webpack Plugin

Ensures that your Prisma files are copied.

Next.js

const { PrismaPlugin } = require('@prisma/nextjs-monorepo-workaround-plugin')

module.exports = {
  webpack: (config, { isServer }) => {
    if (isServer) {
      config.plugins = [...config.plugins, new PrismaPlugin()]
    }

    return config
  },
}

Webpack

const { PrismaPlugin } = require('@prisma/nextjs-monorepo-workaround-plugin')

module.exports = {
  plugins: [new PrismaPlugin()],
}

Keywords

FAQs

Last updated on 23 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc