How to import global variables in webpack or rollup project
I want to create a module for CMS using Rollup or webpack.
I have a script tag that contains a few variables which I need to use in my webpack module, but I can’t include them directly because these render on the server-side.