master-co / css

The CSS Language and Framework

Home Page:https://css.master.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

0Miles opened this issue Β· comments

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