developtools_ace_js2bundle/ace-loader/README.md
zhongjianfei 87223c37dd zhongjianfei@huawei.com
Signed-off-by: zhongjianfei <zhongjianfei@huawei.com>
2021-08-28 16:45:47 +08:00

708 B

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