我是webpack的新手,我似乎找不到在webpack下使用Apple Universal Links文件的方法。
您能否建议如何让/ apple-app-site-association工作?
答案 0 :(得分:1)
如果您想通过webpack提供apple-app-site-association,则可以添加加载程序 并在main.js中为此文件添加导入
{
test: /apple-app-site-association/,
exclude: /node_modules/,
loader: [
{
loader:'file-loader',
options: {
name: '/[name]',
}
}]
}