-
Notifications
You must be signed in to change notification settings - Fork 32
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
Assetpack creates wrong aliases #76
Comments
Hey the config here looks a little off, can you try this import { pixiPipes } from "@assetpack/core/pixi";
export default {
entry: './raw-assets',
output: './public',
pipes: [
...pixiPipes({
texturePacker: { nameStyle: "relative" },
manifest: { output: './src/manifest.json' }
}),
],
}; |
I tried all variants, it still ignores :( |
ok yeah i can recreate this will take a look! |
@YVeselovskyi I've got a PR to fix the issue, if you want an immediate solution try turning |
@Zyie thanks! |
Yeah this is a known issue with cache busting and fonts, just turn that off for now
Will be fixing this issue fairly soon |
The aliases are not generated correctly for some of the bundles. In this example you can see how the names are correctly trimmed in one of the bundles , here is my config
please , help |
Hey @antag0n1st do you by chance have two or more files named |
@Zyie |
@Zyie actually I need to have them with duplicate names. for example and It will be a different title based on the language. |
@Zyie hello! |
@Zyie Using latest 1.1.1 with this config:
I still get this warning Like the scenario mentioned above with the languages, I want them to have identical names but distinguished by their path/folder name to use landscape and portrait assets in the respective scenario. Am I missing something else in the config? |
Hey @sarahgaucimizzi Can you provide me with your folder structure layout so i can see if i can recreate the error? If you cant provide a screenshot then this tool is very useful: Tree |
ahh ok, I think I need to introduce another naming strategy that includes the folder name that has the
so in this example the names would be |
This is my folders structure, it was working on 0.8.0 version, but now, when assets are built it ignores the fact, that they are inside folders and makes an alias with just their file names, like instead of
animations/water
in packed json it iswater
.my config:
nameStyle: 'relative'
- this is not working at all, no matter where I put it.how can I fix it?
Thanks!
The text was updated successfully, but these errors were encountered: