diff --git a/CHANGELOG.md b/CHANGELOG.md index 96224bd3b..f1ca611f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,7 +49,7 @@ Version 1.5.7 - add an icon when the file is opened / closed in result list, and in person rendering macro - improve command to move person and all data: allow to delete some entities during move and add events -Master branch +Version 1.5.8 ============= - add search by phonenumber, with a custom SearchInterface @@ -67,6 +67,6 @@ Master branch ``` - format phonenumber using twilio (if available) ; - add `record_actions` in person search result list: users can click on a little eye to open person page ; - - add new fields (email, mobilenumber, gender) into importPeopleFromCSV command +- configure asset using a function diff --git a/Resources/public/index.js b/Resources/public/index.js new file mode 100644 index 000000000..f4bcba7fb --- /dev/null +++ b/Resources/public/index.js @@ -0,0 +1 @@ +require('./sass/person.scss'); \ No newline at end of file diff --git a/chill.webpack.config.js b/chill.webpack.config.js index cfc6b7daa..724184f63 100644 --- a/chill.webpack.config.js +++ b/chill.webpack.config.js @@ -1,5 +1,4 @@ // this file loads all assets from the Chill person bundle - -require('./Resources/public/css/person.css'); -require('./Resources/public/sass/index.js'); -//require('./Resources/public/sass/person.scss'); +module.exports = function(encore, entries) { + entries.push(__dirname + '/Resources/public/index.js'); +};