Nope. I abandoned it for the time being.
# help
a
Nope. I abandoned it for the time being.
p
Just got it to work I mapped it inside
Copy code
export default defineConfig({
  component: {
    devServer: {
      framework: "create-react-app",
      bundler: "webpack",
      webpackConfig: paths
      },
    },
paths = resolve: { alias: { "@global": path.resolve(__dirname, "./src/global"), "@utils": path.resolve(__dirname, "./src/utils/index.ts"), "@routes": path.resolve(__dirname, "./src/routes/index.ts"), "@contracts": path.resolve(__dirname, "./src/contracts/index.ts"), "@componentLocation": path.resolve(__dirname, "./src/components/index.tsx"), "@components": path.resolve(__dirname, "./src/components"), "@gql": path.resolve(__dirname, "./src/gql"), } }
thank you @mysterious-eve-58444 for telling me how he cracked it
a
Awesome guys. I realized it's something stupid with the paths being resolved incorrectly. Thanks a bunch.
3 Views