1
0
mirror of https://github.com/twirl/The-API-Book.git synced 2025-06-12 22:17:33 +02:00

live examples continued

This commit is contained in:
Sergey Konstantinov
2023-07-30 15:25:21 +03:00
parent 15ca4b3417
commit 38e97cceb2
172 changed files with 502246 additions and 302 deletions

12
scripts/build-examples.js Normal file
View File

@ -0,0 +1,12 @@
const webpack = require('webpack');
const path = require('path');
const dir = process.argv[2];
webpack(require(path.resolve(dir, 'webpack.config.js'))).run((err, stats) => {
if (err) {
console.error(`Error ${err.toString()}\n${err.stack}`);
}
console.log(`${dir} processed`);
process.exit(0);
});