Files
hochzeit.davidt.de/project.config.js

73 lines
2.0 KiB
JavaScript

module.exports = {
paths: {
source: 'source',
build: 'build',
styles: {
source: 'source/assets/sass/**/*.scss',
entry: [
'source/assets/sass/main.scss' ],
dest: 'build/assets/css'
},
scripts: {
source: 'source/assets/js/**/*.js',
dest: 'build/assets/js'
},
images: {
source: ['source/images/**/**/*.{jpg,jpeg,png}', 'source/assets/css/images/**/*.{jpg,jpeg,png}'],
other: ['source/images/**/**/*.{gif,svg,webp}', 'source/assets/css/images/**/*.{gif,svg,webp}'],
dest: 'build/images'
},
markup: {
source: ['source/**/*.{kit,html,php}'],
entry: ['source/**/*.{kit,html,php}'],
exclude: ['source/elemts.html', 'source/generic.html', 'source/portfolio.html'], // oder einzelne Dateien
dest: 'build'
},
static: {
source: [
'source/assets/**/*',
'!source/assets/sass/**/*',
'!source/assets/css/**/*.css',
'!source/assets/css/images/**/*',
'source/images/kimpatrick_wedding_musicclip.mp4',
'source/robots.txt' // 👈 hier hinzufügen
],
dest: 'build/assets'
},
vendor: {
fontawesome: 'node_modules/@fortawesome/fontawesome-free/webfonts/*',
jquery: 'node_modules/jquery/dist/jquery.min.js',
scrollex: 'node_modules/jquery.scrollex/jquery.scrollex.min.js',
scrolly: 'node_modules/jquery.scrolly/jquery.scrolly.js',
destFonts: 'build/assets/webfonts',
destJs: 'build/assets/js'
},
favicons: {
source: ['source/*.{png,ico,svg,webmanifest}'],
dest: 'build'
}
},
extensionMapping: {
'kontakt': '.php',
//'index': '.php',
'400': '.shtml',
'401': '.shtml',
'403': '.shtml',
'404': '.shtml'
},
serve: {
proxy: 'http://hochzeit.davidt.localhost',
port: 3000,
open: true
},
deploy: {
host: 'davidt-hochzeit@10.247.64.14',
path: '/home/davidt-hochzeit/htdocs/hochzeit.davidt.de',
port: 2222,
excludes: ['.DS_Store', '.git']
}
};