Comments (5)
Published. UMD wrapper is a bit problematic though - even though Angular team started to publish their releases to npm, they don't export Angular as a CommonJS module yet. Angular will therefore always require some amount of shimming depending on which bundler you're using.
If you have a straightforward solution to this, I'd love to see it! Otherwise I'm going to close this issue for now, and revisit it once Angular supports CommonJS better.
from angular-bacon.
Angular will therefore always require some amount of shimming depending on which bundler you're using.
Yes, that's a common problem. There is angular-cjs
shim for cjs modules, and shimming is pretty straightforward with AMD.
Otherwise I'm going to close this issue for now, and revisit it once Angular supports CommonJS better.
I am skeptical about this, as they have some issues with merging AMD-related pull requests for a long time.
Anyway, I am using both CJS/AMD modules and UMD will be much helpful.
from angular-bacon.
I need this thing as I am planning to use angular-bacon with my "framework" based on angular (from now on).
I will either use requirejs or webpack (which supports AMD/cjs/es6 modules) as a opinionated module loader for those stuff.
from angular-bacon.
Sure, I think I'm going to do a proof of concept sometime next week to explore some options on how that might work with Browserify, RequireJS and Webpack.
from angular-bacon.
If you need the setup for angular, you can see it here:
- w webpack: https://github.com/packetloop/angular-webpack
- w requirejs: https://github.com/tnajdek/angular-requirejs-seed/blob/master/app/js/main.js
from angular-bacon.
Related Issues (10)
- Props to you, man. HOT 2
- Not an EventStream error in form validation example.
- Switch to using $applyAsync instead of checking for digest cycles and using direct $apply HOT 6
- `$watchAsProperty` may emit duplicate value changes upon start
- `$watchAsProperty` may skip values HOT 2
- Warning for incorrect dependency grunt-contrib-coffee HOT 1
- Add license HOT 2
- Add support for `$watchCollection` HOT 1
- Make a new release with the updated bacon version HOT 1
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 angular-bacon.