mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor(es modules): set src as TS base folder
This commit is contained in:
parent
0d05e1b250
commit
32d7db765d
8 changed files with 33 additions and 40 deletions
|
|
@ -3,23 +3,12 @@
|
|||
// import path from "path";
|
||||
|
||||
// const pathName = path.dirname(fileURLToPath(import.meta.url));
|
||||
// const resolved = path.resolve(pathName, "./src");
|
||||
|
||||
// export default defineConfig({
|
||||
// // base: "/Fantasy-Map-Generator/",
|
||||
// resolve: {
|
||||
// alias: {
|
||||
// // "@": path.resolve(pathName, "./src")
|
||||
// // "@": path.resolve(path.dirname(fileURLToPath(import.meta.url)), "./src")
|
||||
// // "@": path.resolve(path.dirname(fileURLToPath(import.meta.url)), "/src")
|
||||
// // {
|
||||
// // find: "@",
|
||||
// // replacement: path.resolve(pathName, "./src"),
|
||||
// // customResolver: request => {
|
||||
// // console.log(request);
|
||||
// // return request;
|
||||
// // }
|
||||
// // }
|
||||
// }
|
||||
// alias: [
|
||||
// {find: "@", replacement: path.resolve(pathName, "./src")}
|
||||
// ]
|
||||
// }
|
||||
// });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue