mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-25 14:15:55 -04:00
03ee76b40f0451f27b6c013fa3df3aca770aaf74
Merge pull request !76 from youzhi92/cherry-pick-1634200408
developtools_ace-js2bundle
Introduction
Provides syntax compilation conversion, syntax validation, rich and friendly syntax error tips.
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
Description
Languages
JavaScript
96.5%
CSS
2.7%
Python
0.7%
Less
0.1%