Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.4k views
in Technique[技术] by (71.8m points)

snowpack如何指定根目录呢?

问题描述

想把当前的某个库的 playgroundwebpackDevServer 迁移为 snowpack ,但是发现根据官网的配置文档没有办法实现指定启动目录。

{
  "mount": {
    "src": "/dist",
    "public": "/"
  }
}

你期待的结果是什么?实际看到的错误信息又是什么?

想求教如何配置 snowpack 命令的启动目录为项目目录下的 playground 文件夹呢~


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...