Skip to content

next.config.js missing const { withFaust, getWpHostname } = require( '@faustwp/core' ); #311

@sunmorgn

Description

@sunmorgn

Description

I was getting errors when following the tutorial https://faustjs.org/docs/tutorial/learn-faust/
Looks like this line is missing from next.config.js
const { withFaust, getWpHostname } = require( '@faustwp/core' );

Steps to reproduce

  1. following the tutorial https://faustjs.org/docs/tutorial/learn-faust/
  2. npm run dev throws errors
  3. add missing const { withFaust, getWpHostname } = require( '@faustwp/core' ); to fix

Additional context

No response

@faustwp/core Version

3.1.0

@faustwp/cli Version

n/a

FaustWP Plugin Version

n/a

WordPress Version

n/a

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions