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
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
-
Mode: react-ace with ace-builds and webpack.
ace-builds (mode-javascript, theme-github) is working fine with webpack development environment but not in the production mode.
import AceEditor from 'react-ace';
import 'ace-builds/src-noconflict/mode-javascript';
import 'ace-builds/src-noconflict/theme-github';
import 'ace-builds/webpack-resolver';
and then using <AceEditor ... /> with mode as javascript and theme as github.
Versions.
"webpack": "5.50.0",
"react-ace": "^10.1.0"
"ace-builds": "^1.8.1"
Beta Was this translation helpful? Give feedback.
All reactions