如何在gulp中正确包含作为NPM软件包安装的CSS&JS文件?

How to properly include to index.html CSS&JS files installed as an NPM package with gulp?

I've installed one of the CSS frameworks (Materialize) with NPM: npm install --save-dev materialize-css

Now I want to include CSS and JS files from this framework to my index.html. They are located under node_modules/materialize-css/dist/css/materialize.min.css and node_modules/materialize-css/dist/js/materialize.min.js.

What is the proper way to achieve it, considering that I have gulp under my hand?

Use the full path to files in node_modules from index.html directly?

Copy them to ./dist by using gulp task using absolute paths to the files in gulpfile.js, and reference them from index.html as ./dist/materialize.min.css and ./dist/materialize.min.js?

任何建议将不胜感激。很抱歉,如果问题很愚蠢,很难找到解决问题的“正确方法”。