mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-19 18:23:34 -04:00
adc11cf3d4
package json resources Signed-off-by: houhaoyu <houhaoyu@huawei.com> Change-Id: I377341a26b7a9569f5633d287b155bd258ae994b
Ace Loader
A webpack loader for Ace.
Install Dependencies under the ace-loader dir.
npm install
Build built-in sample for Rich devices under the ace-loader dir.
npm run rich
Build built-in sample for Lite devices under the ace-loader dir.
npm run lite
How to build custom ace project
Windows: Step 1. set aceModuleRoot=path/to/your/ace/project Step 2. set aceModuleBuild=path/to/your/jsbundle/build Step 3. node ./node_modules/webpack/bin/webpack.js --config webpack.rich.config.js
Linux: Step 1. export aceModuleRoot=path/to/your/ace/project Step 2. export aceModuleBuild=path/to/your/jsbundle/build Step 3. node ./node_modules/webpack/bin/webpack.js --config webpack.rich.config.js