tui.calendar
tui.calendar copied to clipboard
Evaluate adding node:{global:false} to webpack.config.js
When deploying CSP, current calendar tui code has to be run with Content-Security-Policy: default-src 'unsafe-eval'
because of code inserted by webpack. The problematic code disappears, if I add node: {global:false}
to webpack.config.js, but I do not know what other impact does it have. In any case, it reduces the size of the cumulated output.
• Consider adding module.exports = {…, node:{global:false}}
to webpack.config.js
Thank you for raising an issue. We will try and get back to you as soon as possible.
Please make sure you have filled out issue respecting our form in English and given us as much context as possible. If not, the issue will be closed or not replied.
I believe this is down to how the items are generated with handlebars as the styles are added inline in the html and not applied to the element with javascript.