Skip to content

TypeError: Mix.output is not a function error on production #1

@Senpaiproductions

Description

@Senpaiproductions

I can't seem to get it to work.
Mix.output is undefined and gives an error when i run npm run production


var PrerenderSpaPlugin = require('prerender-spa-plugin');

module.exports.plugins.push(
  new PrerenderSpaPlugin(
    Mix.output().path,
    [ '/' ]
  )
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions