refactor(nds): move nds sprites from public to assets
This commit is contained in:
@@ -69,7 +69,7 @@ export default defineNuxtModule({
|
||||
async setup(_, nuxt) {
|
||||
const logger = useLogger("asset-generator");
|
||||
const rootDir = nuxt.options.rootDir;
|
||||
const imagesDir = join(rootDir, "public/nds/images");
|
||||
const imagesDir = join(rootDir, "app/assets/nds/images");
|
||||
const modelsDir = join(rootDir, "public/nds/models");
|
||||
const templateFile = join(rootDir, "app/composables/useAssets.ts.in");
|
||||
const outputFile = join(rootDir, "app/composables/useAssets.ts");
|
||||
|
||||
@@ -15,7 +15,7 @@ export default defineNuxtModule({
|
||||
const contentDir = join(nuxt.options.rootDir, "content");
|
||||
const publicDir = join(
|
||||
nuxt.options.rootDir,
|
||||
"public/nds/images/projects/pokemons",
|
||||
"app/assets/nds/images/projects/pokemons",
|
||||
);
|
||||
|
||||
const getFileChecksum = async (filePath: string): Promise<string> => {
|
||||
|
||||
Reference in New Issue
Block a user