on ‎2018 Oct 23 12:16 PM
Hello,
I'm trying to add a new decorator to a custom Smartedit extension according to this guide:
https://help.hybris.com/6.7.0/hcd/7cebd4f5dc2a430fbe878f88baf2bd9c.html
but I can't figure out where to put ( I mean in which file/section) these code excerpts:
ngtemplates: {
options: {
standalone: true, //to declare a module as opposed to binding to an existing one
module: 'myModuleTemplates'
},
run: {
src: ['web/features/**/*Template.html'],
dest: 'jsTarget/web/features/templates.js'
}
}
and
concat: {
options: {
separator: ';'
},
dist: {
src: ['web/features/features/**/*.js', 'some other pattern'],
dest: 'jsTarget/myModule.js'
},
},
Can anyone help?
Thanks
ello
Request clarification before answering.
My understanding of the Help site you linked is that there is a Gruntfile.js file in your custom SmartEdit extension, and you need to define it there.
Check this file, as sample: backoffice/node_modules/grunt-angular-templates/Gruntfile.js
Reference:
SmartEdit Builder: https://help.hybris.com/6.7.0/hcd/dd93d777bea5427dbb330188e2ad7f1b.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.