2021-07-22 14:38:18 +03:00
|
|
|
import path from 'canonical-path';
|
|
|
|
import {fileURLToPath} from 'url';
|
|
|
|
import {ExampleZipper} from './exampleZipper.mjs';
|
2017-04-16 23:40:47 +02:00
|
|
|
|
2021-07-22 14:38:18 +03:00
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
2017-04-16 23:40:47 +02:00
|
|
|
const EXAMPLES_PATH = path.join(__dirname, '../../content/examples');
|
2017-05-03 13:55:00 +01:00
|
|
|
const ZIPS_PATH = path.join(__dirname, '../../src/generated/zips');
|
2017-04-16 23:40:47 +02:00
|
|
|
|
|
|
|
new ExampleZipper(EXAMPLES_PATH, ZIPS_PATH);
|