Replacing cassette bundle helpers
Previously on this series I showed how we could use
gulp-preprocess to remove the server rendered tags from our aspx page. Next up on the list is how can we remove the cassette bundle helpers. First thing is we need to do is find the equivalent gulp-inject syntax.
<!-- inject:js --> <!-- . . .
Sometimes you need to process first
Problem, we want to remove server side asp.net scripts from our aspx page and covert them to plain html.
In our old index.aspx page we had a few server rendered scripts for example a simple welcome message that is set by some method in code behind.
WelcomeMessage = . . .
Posted in: gulp