Network Powering Makers

    This package has been deprecated

    Author message:

    Next.js now has built-in support for Source Maps: https://nextjs.org/docs/advanced-features/source-maps

    @zeit/next-source-maps
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/zeit__next-source-maps package

    0.0.3 • Public • Published

    Next.js + Source Maps

    Generate source maps during production build in your Next.js project

    Installation

    npm install --save @zeit/next-source-maps
    

    or

    yarn add @zeit/next-source-maps
    

    Usage with environment variables

    Create a next.config.js

    // next.config.js
    const withSourceMaps = require('@zeit/next-source-maps')
    module.exports = withSourceMaps({
      webpack(config, options) {
        return config
      }
    })

    Then you can run a regular build command and source maps will be outputted for the bundles

    npm run build

    Keywords

    none

    Install

    npm i @zeit/next-source-maps

    DownloadsWeekly Downloads

    58,032

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    2.58 kB

    Total Files

    4

    Last publish

    Collaborators

    • nwienert
    • gdborton
    • nick.tracey
    • zeit-bot
    • vercel-release-bot