We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following quoted from @zenflow
I'm trying to provide my own mode plugin function but its not happenin... window.html = require('../../../shared/Site/pages/*.js', { mode: function(base, files, config){ console.log('mode plugin', base, files, config); return 'require("lodash");'; } }); gives me Unknown mode: function (base, files, config){ console.log('mode plugin', base, files, config); return 'require("lodash");'; } events.js:85 throw er; // Unhandled 'error' event ^ Error: Cannot find module '../../../shared/Site/pages/*.js' from 'c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\sandbox\client\src\scripts' at c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:55:21 at load (c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:69:43) at onex (c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:92:31) at c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:22:47 at FSReqWrap.oncomplete (fs.js:99:15) Process finished with exit code 1 Help?
I'm trying to provide my own mode plugin function but its not happenin...
window.html = require('../../../shared/Site/pages/*.js', { mode: function(base, files, config){ console.log('mode plugin', base, files, config); return 'require("lodash");'; } });
gives me
Unknown mode: function (base, files, config){ console.log('mode plugin', base, files, config); return 'require("lodash");'; } events.js:85 throw er; // Unhandled 'error' event ^ Error: Cannot find module '../../../shared/Site/pages/*.js' from 'c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\sandbox\client\src\scripts' at c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:55:21 at load (c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:69:43) at onex (c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:92:31) at c:\Users\Matthew\Documents\dev\modules\ractive-isomorphic\node_modules\browserify\node_modules\resolve\lib\async.js:22:47 at FSReqWrap.oncomplete (fs.js:99:15) Process finished with exit code 1
Help?
The text was updated successfully, but these errors were encountered:
f3bb41a
No branches or pull requests
The following quoted from @zenflow
The text was updated successfully, but these errors were encountered: