Comments (5)
No, it won't. This lib is for ASP.NET Core only.
For classic ASP.NET projects your best bet is System.Web.Optimization. At least, there's a NuGet package for WebForms so it should work for you. (Cannot say for sure, I've used it only in MVC projects).
from bundling.
That one has not been updated since 2014 and fails on all kinds of modern concepts: i.e. css props, async/await, etc. so it is completely useless for css and javascript minification at all levels. Do you know of any modern minifiers that work well with ASP.NET WebForms?
from bundling.
I don't know of other bundling solutions for classic ASP.NET.
System.Web.Optimization may not be totally hopeless though. It is extensible to a fair degree. E.g. you can define custom bundle types, so probably it can be integrated with libs like NUglify or LibSassHost.
Another option might be to backport my lib. It should be doable as it supports Netstandard 2.0 which is available on NET 4.6.1 or later. There are relatively few ASP.NET Core specific parts, which can be replaced with some effort. This would take definitely more work than tweaking System.Web.Optimization though (and TBH, I don't see too much value in this when classic .NET is virtually considered as legacy).
from bundling.
Well I don't have the resources to extend System.Web.Optimization. Looking for a done solution not something that needs time investment. It would be good if you backported your lib. Although .NET is considered legacy for new development, there are still many huge projects built on it that will not go away any time soon and need to use new CSS and ES6 features. Right now we are not minifying because there is nothing out there for .NET that does it.
from bundling.
I understand your situation but I'm not sure where you are going with this. Of course, I could backport my lib if I wanted to. But that'd take a significant amount of effort for something I'm not in need of.
In this repo I shared some high quality software components with the public for free. But these were created because I needed them or, at times, for fun. Backporting this lib neither would have any value, nor would be fun for me. So I'm sad to say that this won't happen unless you give me some incentive.
AFAIK, there's no out-of-the-box solution to your problem. If you want a solution, you'll need investment in one way or the other. If you stick to using this lib, I'm open to further discussion. In this case, please give me your email address and let's continue it privately.
from bundling.
Related Issues (15)
- Tree shaking in EcmaScript HOT 2
- EcmaScript - NullReferenceException when variable is not declared HOT 1
- Render individual includes HOT 8
- Add option for generating source maps
- Issue when script file has been modified outside of Visual studio HOT 5
- Negative number invalid for list HOT 1
- JS: Multiple mobile versions give syntax errors after bundeling. HOT 5
- asp-append-version tag doesn't seem to work with bundled script HOT 3
- How to apply transforms to a Bundle like we used to do in Asp.Net MVC 4? HOT 2
- Cannot access node_modules folder HOT 1
- Vuejs HOT 5
- .Net Core 3 issues HOT 2
- Using CDN HOT 1
- Question: How to handle client side caching HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundling.