Open ddelella opened 7 years ago
It depends on what the module's package.json
has under the main
property, usually it's not the minified version (which could be solved with #3, I guess) and you can't include other files (CSS/images/fonts, etc.).
Personally, I ended up using an array of paths to minified files for JS (which were concatenated to a single libs.js file) and just imported CSS files in LESS/SASS files, though you can easily set them up the same way as I suggested with JS. 😄
Either way, overrides would solve your minified problem, but for other assets you'll have to handle yourself, I don't handling extra files is what @drioemgaoin intended with this module 😃
The tool appears to copy only the .js files and not the .min.js. I also do not see any CSS files. The output also completely skipped bootstrap. Ideas?
conf.paths.node_modules = './node_modules';