summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2015-12-07 17:39:48 +0100
committerDavid Monjoie <dmo@odoo.com>2016-02-02 15:24:51 +0100
commit79f13a2aafa24aad631dc6a90304b1e1eb2c2a94 (patch)
treee6545a0e6472c4fabdfea4a6ec06ebb6289f6221 /addons/web_editor/static/src/js/transcoder.js
parentf0a63e591380642a105b7325aa29cd82a2966cda (diff)
[REF] ir_qweb: optimize assets compilation in debug mode
Mainly by moving the authority to handle the ir.attachments records for Less and SassStylesheetAsset from the asset to the bundle. We introduce a method `is_css_preprocessed` that will check if the less/sass assets contained in a bundle already have ir.attachments records. On top of that, it'll check if these existing records need to be invalidated by comparing the last modified date of the file and the __last_updated field on the record. If it is the case, we chose to unlink all the less/sass attachments from the same bundle.
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions