v1.0.6: can't resolve spin.js
jamesarosen opened this issue · 1 comments
jamesarosen commented
ladda.min.js
has
require("spin.js")
but dist/
includes spin.min.js
, not spin.js
. For use with Webpacker, this requires adding an alias:
alias: {
spin: resolve('node_modules/ladda/dist/spin.min.js'
}
theodorejb commented
Version 1.0.6 isn't supported anymore. In the latest release (2.0.1) the dist/
folder only includes minified CSS files. Spin.js is a dependency of Ladda, and would have a path of node_modules/spin.js/spin.js
.