Skip to content

A test that reproduces non-determisitic builds with browserify and split-require

Notifications You must be signed in to change notification settings

danielcardoso5/split-require-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

split-require-test

A test that reproduces non-determisitic builds with browserify and react-loadable/split-require.

How to test:

npm install
npm test

The test script attempts to repeatedly make the build. As the output is always expected to be 4 files, we detect a hash change by simply looking for there to be more than 4 files in the bundle directory, this means a new hash was generated for the same files.

The file that changes represents the file comp3.jsx, which in turn, imports comp1.jsx and comp2.jsx, these last two are also imported by react-loadable in the main.jsx file.

About

A test that reproduces non-determisitic builds with browserify and split-require

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published