You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use CSS modules with TypeScript (with https://github.com/Quramy/typed-css-modules).
TypeScript modules are transpiled to separate directory (dist/tsc). This does not copy CSS modules to that directory so when I try to run browserify with css-modulesify plugin (rootDir option is dist/tsc) I get Cannot find module error.
Of course, if I copy CSS modules to dist/tsc before running broweserify then it works fine but it would be nice to omit this step to make build faster.
The text was updated successfully, but these errors were encountered:
I use CSS modules with TypeScript (with https://github.com/Quramy/typed-css-modules).
TypeScript modules are transpiled to separate directory (
dist/tsc
). This does not copy CSS modules to that directory so when I try to run browserify with css-modulesify plugin (rootDir
option isdist/tsc
) I getCannot find module
error.Of course, if I copy CSS modules to
dist/tsc
before running broweserify then it works fine but it would be nice to omit this step to make build faster.The text was updated successfully, but these errors were encountered: