How should I manage inline code when using?
I have an object in my ASPX file, loaded via RequireJS with a group of different JavaScript files.
& lt; Script & gt; Define ('pageddata', function) {return {goal: & lt;% = _ target% & gt; permissions: & lt;% = _ permissions% & gt;};}); & Lt; / Script & gt; This object has page load data and is necessary for many of my files.
Of course, when I try to use optimization, it complains because it is neither a module defined as pagerata nor a file named PageData.js.
Is there any way to ignore this dependency?
Use the "empty path" to allow customization to be completed in the build:
No comments:
Post a Comment