0.0.6 • Published 4 years ago
edgenext-dev-cli v0.0.6
About edgenext-dev-cli
This is a command line tool created for Ads UX local development, which consists of: 1. Single command to setup both dev server and ts file watcher. 2. Much more quicker incremental build. 3. Unified ts watcher which can cover all related files.
Install edgenext-dev-cli
npm i -g edgenext-dev-cliUsage
Before launch the dev command, you should firstly execute npm run build:withconfigs at msnews-experiences\app-types\edgenext after sync latest main branch.
cd [path-to-your-project-root]\msnews-experiences\app-types\edgenext
edgenext-cli-dev startThis command will setup dev server and ts watcher in seperate cmd windows.
Options
In order to have better incremental build performance, the chunk splitting is by default disabled. And 2 webpack plugins: CircularDependencyPlugin and BundleAnalyzerPlugin are also removed.
If you want to enable them in dev build, use below options:
edgenext-cli-dev start -s // Do not disable chunk splitting
edgenext-cli-dev start -c // Do not disable circular dependency check
edgenext-cli-dev start -s -c // Do not disable both