forked from carbon-design-system/ibm-security
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
40 lines (35 loc) · 717 Bytes
/
config.js
File metadata and controls
40 lines (35 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* @file Path configuration.
* @copyright IBM Security 2018 - 2021
*/
// Imports
import path from 'path';
export const paths = {
src: {
dir: 'src',
components: {
dir: 'components',
get path() {
return path.resolve(paths.src.path, paths.src.components.dir);
},
},
get path() {
return path.resolve(__dirname, paths.src.dir);
},
files: {},
},
dist: {
css: 'css',
scss: 'scss',
cjs: 'lib',
es: 'es',
dist: 'dist',
},
};
paths.src.files.scss = path.join(paths.src.dir, '**/*.scss');
export const buildBlacklist = ['Component', 'Portal', 'Tooltip'];
export const root = __dirname;
export default {
paths,
buildBlacklist,
};