Infos:
- Used Zammad version: 3.6
- Used Zammad installation source: (source, package, …) package
- Operating system: Centos7
- Browser + version: firefox
Expected behavior:
-
our developper want to use zammad for wordpress, he gave me a file and asked me to give him the paths of the files mentioned, :
// Webpack settings exports.
module.exports = {
entries: {
// JS files.
chat: ‘./assets/js/shared/chat.js’,
form: ‘./assets/js/shared/form.js’,// CSS files. 'chat-style': './assets/css/shared/chat.scss', 'form-style': './assets/css/shared/form.scss', style: './assets/css/frontend/style.css',
},
filename: {
js: ‘js/[name].js’,
css: ‘css/[name].css’,
},
paths: {
src: {
base: ‘./assets/’,
css: ‘./assets/css/’,
js: ‘./assets/js/’,
},
dist: {
base: ‘./dist/’,
clean: [’./images’, ‘./css’, ‘./js’],
},
},BrowserSyncConfig: {
host: ‘localhost’,
port: 1983,
proxy: ‘https://maticacorp.test’,
open: false,
files: [
‘/*.php’,
'dist/js//.js’,
'dist/css/**/.css’,
‘dist/svg//*.svg’,
'dist/images//.{jpg,jpeg,png,gif}’,
'dist/fonts/**/.{eot,ttf,woff,woff2,svg}’,
],
},
Actual behavior:
-
I dont have those paths, what I have:
// Webpack settings exports.
module.exports = {
entries: {
// JS files.
chat: ‘./assets/js/shared/chat.js’, /opt/zammad/public/assets/chat/chat.js
form: ‘./assets/js/shared/form.js’, /opt/zammad/public/assets/form/form.js// CSS files. 'chat-style': './assets/css/shared/chat.scss', **/opt/zammad/public/assets/chat.scss** 'form-style': './assets/css/shared/form.scss', **/opt/zammad/public/assets/form/form**. style: './assets/css/frontend/style.css', **I dont have this file on my server**
},
filename: {
js: ‘js/[name].js’, I dont have js directory
css: ‘css/[name].css’, I dont have css directory
},
paths: {
src: {
base: ‘./assets/’, ?
css: ‘./assets/css/’, ?
js: ‘./assets/js/’, ?
},
dist: {
base: ‘./dist/’, ?
clean: [’./images’, ‘./css’, ‘./js’],
},
},BrowserSyncConfig: {
host: ‘localhost’, ** should be replaced by FQDN**
port: 1983, should be replaced by 3000
proxy: ‘https://maticacorp.test’, ** should be replaced by https://FQDN**
open: false,
files: [
‘/*.php’,
'dist/js//.js’,
'dist/css/**/.css’,
‘dist/svg//*.svg’,
'dist/images//.{jpg,jpeg,png,gif}’,
'dist/fonts/**/.{eot,ttf,woff,woff2,svg}’,
],
},
Steps to reproduce the behavior:
- I have searched the file given under my installation /opt/zammad , I think the nomination are different?