-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
4.5.9
Reproduction link
[https://github.com/mx-space/notebook/tree/29f705b18f380f072e588bdfa7238d1037a2cbaf)
Environment info
[System Information]
OS Version : macOS Big Sur
NodeJS Version : v14.15.0
YARN Version : 1.22.10
Vue: 3.0.0
ts: 4.0.5
Steps to reproduce
- use css module in
.tsx
file. In development mode, tt working, not working in production build. and every class which is css module lost.
and this is my vue conifg:
module.exports = {
publicPath:
process.env.NODE_ENV === 'production'
? !process.env.VUE_APP_PUBLIC_URL
? 'https://cdn.jsdelivr.net/gh/mx-space/notebook@gh-pages'
: ''
: '/',
}
What is expected?
css module working in production
What is actually happening?
css module not working in production
Metadata
Metadata
Assignees
Labels
No labels