Open ethanclevenger91 opened 7 years ago
I'm trying to get List.js going with Browserify. The top of my scripts file that's being compiled is as such:
var List = require('list.js'); var ListPagination = require('list.pagination.js');
Browserify is throwing two errors: Cannot find module 'classes' and Cannot find module 'event'.
Cannot find module 'classes'
Cannot find module 'event'
Let me know if there's more information that would be useful.
Temporary workaround was to require the minified version directly:
var ListPagination = require('./../node_modules/list.pagination.js/dist/list.pagination.min.js')
+1
I'm trying to get List.js going with Browserify. The top of my scripts file that's being compiled is as such:
Browserify is throwing two errors:
Cannot find module 'classes'
andCannot find module 'event'
.Let me know if there's more information that would be useful.