You're right webpack-resolver.js
is only for ace-builds
. I have created a new branch
which attempts to configure lib/ace
and disables webpack-resolver.js
When I build it with npx webpack
, I receive 11 similar warnings such as
WARNING in ./src/ace/lib/ace/ace.js 67:18-25
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./src/index.js 4:0-36 6:0-55 19:13-21 27:30-35
When I browse the resulting web app
, I see two errors -
Uncaught (in promise) Error: Cannot find module './theme/textmate'
Uncaught (in promise) Error: Cannot find module 'ace/mode/json'
and I notice the syntax highlighting and theme don't work.
Do you how I can make them work with
webpack and lib/ace?