Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试着改变rollup.config.js说
rollup.config.js
output: {...config.client.output(), dir: __dirname}
它把一些东西放进去__dirname,一些东西放进去./__sapper__,然后它抛出错误并死了。设置build --output标志只设置中间文件输出目录。我只需要让它输出到默认文件夹然后在构建后复制它吗?
__dirname
./__sapper__
build --output
试试sapper build my-output-directory。
sapper build my-output-directory