Collection rule pages
This commit is contained in:
parent
d345bc2595
commit
38d9d74db4
35 changed files with 766 additions and 14 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue