Through the webpack packaging tool configuration of the project, there are some min.js require () entry does not take effect, why.

only masonry = require ("masonry"), which is not referenced, so the masonry () function reported an error. Why some can be brought in and some can"t?


your library did not follow the amd specification to write


upstairs positive solution, masonry may not be written in accordance with the AMD specification, did not export

Menu