我的问题与pkg
有关我的项目结构就像这样
node_modules
引导
dist
jquery
dist
popper.js
dist
index.html
package.json
script.js
main.js
根据documentation,在package.json中,我需要添加
"pkg": {
"scripts": "build/**/*.js",
"assets": "views/**/*"
}
我不明白这一行:
"scripts": "build/**/*.js",
就我而言,我应该这样写吗?
"scripts": "node_modules/**/dist/*.js",
答案 0 :(得分:0)
已解决。我在package.json中添加了此代码:
^(.{51,}(?:something\/[\w]+\/at-the-end\/[\d]+$))|((?!.*something\/[\w]+\/at-the-end\/[\d]+$).{51,})$