island205 / browserify-loader Goto Github PK
View Code? Open in Web Editor NEWA CommonJS Loader for browserify workflow.
Home Page: http://island205.com/browserify-loader/
License: MIT License
A CommonJS Loader for browserify workflow.
Home Page: http://island205.com/browserify-loader/
License: MIT License
我在使用fabric.js 的时候,因为它同时支持浏览器端和nodejs,所以在代码中做出了判断,如果在nodejs环境下,则require('canvas'),那么如果我的代码在浏览器中执行,loader会试图加载canvas这个库,导致加载失败(浏览器端不需要这个库),从而导致load中断,之后的compile也就没有执行
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.