-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
41 lines (39 loc) · 986 Bytes
/
config.js
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
41
/* global module */
let config = {
'notGetBlocks': [
'blocks-demo.html',
],
'ignoredBlocks': [
'no-js',
],
'alwaysAddBlocks': [
// 'sprite-svg',
// 'sprite-png',
],
'addStyleBefore': [
'src/scss/variables.scss',
'src/scss/mixins.scss',
// 'somePackage/dist/somePackage.css', // для 'node_modules/somePackage/dist/somePackage.css',
],
'addStyleAfter': [
// 'src/scss/print.scss',
],
'addJsBefore': [
// 'somePackage/dist/somePackage.js', // для 'node_modules/somePackage/dist/somePackage.js',
],
'addJsAfter': [
'./script.js',
],
'addAssets': {
'src/img/demo-*.{png,svg,jpg,jpeg}': 'img/',
// 'src/fonts/demo-empty-open-sans.woff2': 'fonts/',
// 'src/favicon/*.{png,ico,svg,xml,webmanifest}': 'img/favicon',
// 'node_modules/somePackage/images/*.{png,svg,jpg,jpeg}': 'img/',
},
'dir': {
'src': 'src/',
'build': 'build/',
'blocks': 'src/blocks/'
}
};
module.exports = config;