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

🐞 An error "Cannot find module" occurs when importing files in master.config.ts #340

Closed
0Miles opened this issue Mar 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@0Miles
Copy link
Contributor

0Miles commented Mar 27, 2024

Description

After importing any local files in the master.config.ts configuration file,
you'll encounter an error during the build, receiving a "Cannot find module" error message.

Reproduction

  1. clone this example repo
git clone https://github.com/0Miles/mastercss-config-cannot-find-module
  1. install node modules
pnpm i
  1. build
pnpm build

then you'll encounter an error: "Cannot find module './styles/example'."

System Informations

No response

@0Miles 0Miles added the bug Something isn't working label Mar 27, 2024
@1aron 1aron closed this as completed in 18bf9e8 Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant