Skip to content

[Encore] Replace "Encore.setPublicPrefix" by "Encore.setPublicPath" #12449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

Lyrkan
Copy link
Contributor

@Lyrkan Lyrkan commented Oct 8, 2019

Fixes a small issue in the FAQ page: Encore.setPublicPrefix() does not exist, it should be Encore.setPublicPath() instead (the example that follows uses it correctly).

I also removed a "just" in the same sentence since, if I recall correctly, it should now be avoided in the docs.

@javiereguiluz
Copy link
Member

Good catch! And thanks for removing the "just" word too. Thanks Vincent!

javiereguiluz added a commit that referenced this pull request Oct 9, 2019
…PublicPath" (Lyrkan)

This PR was merged into the 3.4 branch.

Discussion
----------

[Encore] Replace "Encore.setPublicPrefix" by "Encore.setPublicPath"

Fixes a small issue in the FAQ page: `Encore.setPublicPrefix()` does not exist, it should be [`Encore.setPublicPath()`](https://github.com/symfony/webpack-encore/blob/314be3277984c8493a5daaae792c05279a9c436b/index.js#L39-L69) instead (the example that follows uses it correctly).

I also removed a "*just*" in the same sentence since, if I recall correctly, it should now be avoided in the docs.

Commits
-------

3542527 [Encore] Replace "Encore.setPublicPrefix" by "Encore.setPublicPath"
@javiereguiluz javiereguiluz merged commit 3542527 into symfony:3.4 Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants