mirror of
https://github.com/facebook/react.git
synced 2026-02-26 07:55:55 +00:00
16 lines
411 B
JavaScript
16 lines
411 B
JavaScript
#!/usr/bin/env node
|
|
|
|
const chalk = require('chalk');
|
|
const build = require('../shared/build');
|
|
|
|
const main = async () => {
|
|
await build('chrome');
|
|
|
|
console.log(chalk.green('\nThe Chrome extension has been built!'));
|
|
console.log(chalk.green('You can test this build by running:'));
|
|
console.log(chalk.gray('\n# From the react-devtools root directory:'));
|
|
console.log('yarn run test:chrome');
|
|
};
|
|
|
|
main();
|