tui.calendar icon indicating copy to clipboard operation
tui.calendar copied to clipboard

Evaluate adding node:{global:false} to webpack.config.js

Open dilyanpalauzov opened this issue 4 years ago • 2 comments

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

dilyanpalauzov avatar Jul 22 '20 09:07 dilyanpalauzov

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.

auto-comment[bot] avatar Jul 22 '20 09:07 auto-comment[bot]

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.

roly445 avatar Feb 09 '21 11:02 roly445