Closed GeoffreyBooth closed 4 years ago
I think this was the issue of plugins not being able to access modules in node_modules
from the app. I think this works now, at least it seems in one other plugin (minifier) in Meteor 1.6.1.1.
Just for future reference, I think this may have been due to import hoisting as mentioned in the readme file.
Closing due to age.
I’m trying to use this to update the
coffeescript
package to use whatever version of the NPMcoffeescript
module the project has installed. I can’t seem to get it to work. This is inpackage.js
:And this is the top of
plugin/compile-coffeescript.js
:I keep getting
error: Can't load npm module 'coffeescript' from packages/modules-runtime.js. Check your Npm.depends().
Any ideas? Does
check-npm-versions
not work in the context ofPackage.registerBuildPlugin
?