Skip to content

perry-mitchell/repo-deepmerge-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction repo for deepmerge bug /w webpack

For context, see KyleAMathews/deepmerge/issues/97 and KyleAMathews/deepmerge/issues/87.

To reproduce

[email protected]:perry-mitchell/repo-deepmerge-webpack.git
cd repo-deepmerge-webpack

npm install
npm test

Further detail

If you change the first line of index.js to

import merge from "deepmerge"

then Webpack correctly returns the function.

If you do a CommonJS import:

const merge = require("deepmerge")

then Webpack returns the exports property on whatever was exported by deepmerge, which is undefined.

About

Test repo for deepmerge issue with webpack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published