angular-cn/aio/tools/plunker-builder/generatePlunkers.js

10 lines
423 B
JavaScript
Raw Normal View History

const path = require('path');
const regularPlunker = require('./regularPlunker');
const embeddedPlunker = require('./embeddedPlunker');
const EXAMPLES_PATH = path.join(__dirname, '../../content/examples');
const LIVE_EXAMPLES_PATH = path.join(__dirname, '../../src/content/live-examples');
regularPlunker.buildPlunkers(EXAMPLES_PATH, LIVE_EXAMPLES_PATH);
embeddedPlunker.buildPlunkers(EXAMPLES_PATH, LIVE_EXAMPLES_PATH);