split-require icon indicating copy to clipboard operation
split-require copied to clipboard

commonjs-first bundle splitting, for browserify

Results 11 split-require issues
Sort by recently updated
recently updated
newest added

_Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then._ Dependabot has...

dependencies

Bumps [tape-run](https://github.com/juliangruber/tape-run) from 7.0.0 to 9.0.0. Release notes Sourced from tape-run's releases. v9.0.0 Bump browser-run to support sandbox option. Closes #82 57adc5f Include more detailed Headless Testing section (#81) ccad1ea...

dependencies

Supposed to look like: ```js splitRequire.capture(function (ondone) { ssr.render(state, ondone) }, function (err, result, bundles) { // bundles is array of splitRequire()'d entry points }) // or var { bundles,...

Going to be useful for a `loadable-component` thing I'm working on. ```js var sr = require('split-require') var component = loadableComponent({ load: sr.bind(null, './whatever') // vs function (cb) { sr('./whatever', cb)...

Bumps [standard](https://github.com/standard/standard) from 14.3.4 to 16.0.3. Changelog Sourced from standard's changelog. [16.0.3] - 2020-11-17 Update eslint from ~7.12.1 to ~7.13.0 Relax rule: Enforce default parameters to be last #1414 [16.0.2]...

dependencies

Bumps [through2](https://github.com/rvagg/through2) from 3.0.2 to 4.0.2. Commits ebe3d0b 4.0.2 0cd3ec7 Fix typo in README.md 8fe9228 remove inherits dep 9c0cf12 4.0.1 8a4d6b3 update ignores for pack de77352 4.0.0 ad542a5 more modernisation...

dependencies

I'm seeing some really strange behavior when using `split-require` together with `tinyify`. I am trying to conditionally load a large library for browser that don't support `window.crypto.subtle` like this: ```js...

Hi! I'm a little confused by the combination of `split-require` and `factor-bundle` in tandem. Is it possible for `split-require` to emit all files so they can be passed to `factor-bundle`...

this works: ```js import('./a') ``` but what do we do with ```js var a = './a' + Math.random() import(a) ```

so you can generate script tags for everything that is needed to render the page. maybe having an api like `splitRequire.capture(function (cb) { render(cb) }, function (result, bundles) {})` could...