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

Change file name in requirejs main file(Config) #251

Open
Triveni-Gaikwad opened this issue May 6, 2019 · 0 comments
Open

Change file name in requirejs main file(Config) #251

Triveni-Gaikwad opened this issue May 6, 2019 · 0 comments

Comments

@Triveni-Gaikwad
Copy link

I've just started trying out grunt-cache-bust and its working as a charm for css, but now i am using requirejs in the project and the configuration of js files are in main.js file where i have specified all the paths like
require.config({ paths: { // Libraries 'moment': 'global/js/vendor/moment', 'jquery': 'global/js/vendor/jquery/jquery-3.3.1.min', 'jquerysly': 'global/js/vendor/plugins/sly.min', } });

After the cache bust the moment.js file will be moment-.js
Now i have to change the path with the updated path in config file, how can i do this?

Note: the path will not have .js in config file

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

1 participant