load assets using a configure function

This commit is contained in:
Julien Fastré 2019-12-04 14:04:02 +01:00
parent 6a76e6c431
commit b96cd8018f
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -0,0 +1 @@
require('./sass/person.scss');

View File

@ -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');
};