Skip to content
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

the plugin can't replace requirejs path in php file #78

Open
Flourad opened this issue Oct 21, 2017 · 2 comments
Open

the plugin can't replace requirejs path in php file #78

Flourad opened this issue Oct 21, 2017 · 2 comments

Comments

@Flourad
Copy link

Flourad commented Oct 21, 2017

the rev-manifest.json file:

image

the generating file, replacement not work:

image

@TheDancingCode
Copy link
Contributor

That's because the plugin is looking to replace "js/ci/plan-sort.js", not "ci/plan-sort". You can use the modifyUnreved and modifyReved options to remove the leading js/ folder and the .js extension.

@fsevenm
Copy link

fsevenm commented Jul 3, 2020

That's because the plugin is looking to replace "js/ci/plan-sort.js", not "ci/plan-sort". You can use the modifyUnreved and modifyReved options to remove the leading js/ folder and the .js extension.

Awesome. You saved my life bro. I was looking for this in about a night.

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

No branches or pull requests

3 participants