Skip to content

Does it work with a express and Prismic configuration in a webpack.config file ? #17

Answered by ReeceM
orpheebesson asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @orpheebesson so if you set the config option in the generator publicPath: path.join(__dirname, 'public'), it should create the file. You will actually find the one it's been generating in node_modules/@reecem/prismic-sitemap/public/sitemap.xml

This is because the index.js file in the package determines the dir to place it in if it isn't specified. And then it calls the generator. Forgot about that :) But should work after that

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@orpheebesson
Comment options

@ReeceM
Comment options

@ReeceM
Comment options

@orpheebesson
Comment options

@ReeceM
Comment options

Comment options

You must be logged in to vote
2 replies
@orpheebesson
Comment options

@ReeceM
Comment options

Answer selected by ReeceM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants