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
Hi! I am sorry for the seemingly off topic title,
I am having problems with with webpack and I think it is also connected to emotion-js. I have a repo built with react, express and webpack. It is an SSR website. It is a skeleton website. It has a text editor, remirror. I have also imported remirror’s own css stylesheet here. But the problem is that that stylesheet is not being imported. I think this maybe due to a slightly incorrect webpack configuration or I may not have configured emotion-js correctly. I run my website by typing npm run development . And due to the absence of the stylesheet I get this ugly editor
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I am sorry for the seemingly off topic title,
I am having problems with with webpack and I think it is also connected to emotion-js. I have a repo built with react, express and webpack. It is an SSR website. It is a skeleton website. It has a text editor, remirror. I have also imported remirror’s own css stylesheet here. But the problem is that that stylesheet is not being imported. I think this maybe due to a slightly incorrect webpack configuration or I may not have configured emotion-js correctly. I run my website by typing
npm run development
. And due to the absence of the stylesheet I get this ugly editorTo solve the problem, I previously
wrote
externals: [nodeExternals({
allowlist: [/.css$/]
})],
in my webpack configuration file. But it didn’t work. Then I wrote
externals: [nodeExternals({
allowlist: [/.(?!(?:jsx?|json|css)$).{1,5}$/i]
})],
But it also didn’t work. Could you please help me?
Beta Was this translation helpful? Give feedback.
All reactions