Skip to content

Conversation

weaverryan
Copy link
Member

@weaverryan weaverryan commented Jul 21, 2017

Encore.setManifestKeyPrefix('/public/');

This is allowed, and will still be allowed. But after this PR, you will get a warning.

This is to help people from "tripping up" and accidentally changing their manifest key prefix from public/ to /public/ when calling setManifestKeyPrefix(). I thought this might cause issues, and it did in #96 - #96 (comment)

Cheers!

@weaverryan weaverryan force-pushed the tighter-manifest-key-prefix branch from d67f0ab to 38516d0 Compare July 21, 2017 01:06
@weaverryan weaverryan changed the title Enforcing that the manifest keys NEVER start with "/" Warning when manifest key prefix starts with "/" Aug 10, 2017
@weaverryan weaverryan force-pushed the tighter-manifest-key-prefix branch from 1ac0df2 to baa70b1 Compare August 10, 2017 01:35
@weaverryan weaverryan merged commit 6a241d9 into symfony:master Sep 13, 2017
@weaverryan weaverryan deleted the tighter-manifest-key-prefix branch September 13, 2017 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant