Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoubin/dedupe-with-factor-bundle
Bug example for using factor-bundle when dedupe happens
https://github.com/zoubin/dedupe-with-factor-bundle
Last synced: 8 days ago
JSON representation
Bug example for using factor-bundle when dedupe happens
- Host: GitHub
- URL: https://github.com/zoubin/dedupe-with-factor-bundle
- Owner: zoubin
- Created: 2015-08-11T07:26:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-11T07:39:09.000Z (over 9 years ago)
- Last Synced: 2024-04-09T16:29:04.193Z (7 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dedupe problem with factor-bundle
Bug example for using factor-bundle when dedupe happens## Versions
* browserify: 11.0.1
* factor-bundle: 2.5.0## Source and build directory
```
⌘ tree src/
src/
├── a.js
├── b.js
├── c.js
└── dups
└── c.js```
```
⌘ tree build/
build/
├── a.js
├── b.js
└── common.js
```### src/a.js
```javascript
require('./c');
module.exports = 'a';```
### src/b.js
```javascript
require('./dups/c');
module.exports = 'b';```
### src/c.js
```javascript
module.exports = 'c';```
### build/a.js
```javascript
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o
Dedupe problem with factor-bundle
- browserify: 11.0.1
- factor-bundle: 2.5.0