Collection rule pages

This commit is contained in:
sonny 2019-12-31 14:32:29 +01:00
parent d345bc2595
commit 38d9d74db4
35 changed files with 766 additions and 14 deletions

View file

@ -12,10 +12,18 @@ const SRC_DIR = path.join(PROJECT_DIR, 'js');
const STATIC_SUFFIX = 'dist/js/';
const CORE_DIR = path.join(PROJECT_DIR, 'news', 'core', 'static', 'core');
const COLLECTION_DIR = path.join(
PROJECT_DIR,
'news',
'collection',
'static',
'collection'
);
const taskMappings = [
{ name: 'homepage', destDir: `${CORE_DIR}/${STATIC_SUFFIX}` },
{ name: 'categories', destDir: `${CORE_DIR}/${STATIC_SUFFIX}` },
{ name: 'rules', destDir: `${COLLECTION_DIR}/${STATIC_SUFFIX}` },
];
const babelTask = done => {