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

Using folders not fixing requires #20

Open
Pillarish opened this issue Jun 7, 2018 · 1 comment
Open

Using folders not fixing requires #20

Pillarish opened this issue Jun 7, 2018 · 1 comment

Comments

@Pillarish
Copy link

Hello there,

In the advanced usage docs here: https://docs.screeps.com/contributed/advanced_grunt.html#Using-Folders - It shows how you can move files from a folder structure into a flattened structure using the grunt-contrib-copy plugin and it also renames the files to prefix the folder name onto the filename for example a file at location "src/Creeps/Roles/Harvester" will be moved to "dist/" and renamed to "Creeps_Roles_Harvester". It also mentioned that your requires would have to change but that is the issue, it doesn't explain how to do that as part of the copy process. Any help would be appreciated.

@cedricouellet
Copy link

Did you ever find a fix to this issue? Years later I am trying to fix the same problem

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

2 participants