All Projects → loatheb → the-super-tiny-web-module-resolver

loatheb / the-super-tiny-web-module-resolver

Licence: MIT license
simple js bundler written in 100 lines of code.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to the-super-tiny-web-module-resolver

Browserify
browser-side require() the node.js way
Stars: ✭ 13,929 (+55616%)
Mutual labels:  bundler, commonjs
Requirejs Demo
《RequreJS学习笔记》
Stars: ✭ 164 (+556%)
Mutual labels:  module, commonjs
Pax
The fastest JavaScript bundler in the galaxy.
Stars: ✭ 2,626 (+10404%)
Mutual labels:  bundler, commonjs
Neuron.js
A Full Feature CommonJS Module Manager, Dependency Graph Handler and Loader for Browsers
Stars: ✭ 66 (+164%)
Mutual labels:  bundler, commonjs
nanobundle
Yet another build tool for libraries, powered by esbuild
Stars: ✭ 45 (+80%)
Mutual labels:  bundler, commonjs
wulaphp
一个有点复杂的PHP框架!
Stars: ✭ 26 (+4%)
Mutual labels:  module
lovedebug
A fixed and updated repo of LOVEDEBUG
Stars: ✭ 22 (-12%)
Mutual labels:  module
ngx http hmac secure link module
HMAC Secure Link module for NGINX.
Stars: ✭ 47 (+88%)
Mutual labels:  module
module-init
🏁 Create a new node module with all the right stuff.
Stars: ✭ 71 (+184%)
Mutual labels:  module
modules
Officially supported Revel modules
Stars: ✭ 46 (+84%)
Mutual labels:  module
node-advanced
Node Advanced Courseware
Stars: ✭ 80 (+220%)
Mutual labels:  module
yantra
JavaScript Engine for .NET Standard
Stars: ✭ 32 (+28%)
Mutual labels:  commonjs
google streetview
A command line tool and module for Google Street View Image API
Stars: ✭ 77 (+208%)
Mutual labels:  module
laravel-module
Module management package for Laravel
Stars: ✭ 65 (+160%)
Mutual labels:  module
Framer-CollectionComponent
Framer Module
Stars: ✭ 22 (-12%)
Mutual labels:  module
laravel-module-loader
THIS PACKAGE HAS BEEN DEPRECATED — A lightweight package to organize your code into contextual modules.
Stars: ✭ 76 (+204%)
Mutual labels:  module
HumHub-WeChat
Its a chat widget for admins and moderators You can use from HumHub Admin Panel - it is working with latest HumHub.
Stars: ✭ 14 (-44%)
Mutual labels:  module
react-native-tab-navigator
JavaScript for React-Native iOS Android module
Stars: ✭ 35 (+40%)
Mutual labels:  module
vue-component-creator-plugin
Simplify your frontend dev by automatically created vue components and vuex modules
Stars: ✭ 16 (-36%)
Mutual labels:  module
nuxt-modules
AX2's Nuxt modules
Stars: ✭ 30 (+20%)
Mutual labels:  module

The Super Tiny Web Module Resolver

Simple js bundler written in 50100 lines of code.

Also, before adding dynamic require support, it's just under 50 lines. (:

feature

  • bundle commonjs module
  • dynamic import/require.ensure

config

// packer.config.js
module.exports = {
    base: "./test/case1", // default current __dirname
    entry: "index.js", // default index.js
    output: "bundle.js" // default index.bundle.js
};

or

// packer.config.js
module.exports = [{
    base: './test/case1'
}, {
    base: './test/case2'
}, {
    base: './test/case3'
}];

usage

./bin/packer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].