angular-docs-cn/aio/tools/example-zipper/generateZips.js

8 lines
275 B
JavaScript
Raw Normal View History

2017-04-16 17:40:47 -04:00
const ExampleZipper = require('./exampleZipper');
const path = require('canonical-path');
const EXAMPLES_PATH = path.join(__dirname, '../../content/examples');
const ZIPS_PATH = path.join(__dirname, '../../src/generated/zips');
2017-04-16 17:40:47 -04:00
new ExampleZipper(EXAMPLES_PATH, ZIPS_PATH);