V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jackShell
V2EX  ›  问与答

rollup 工具使用 v1.21.0

  •  
  •   jackShell · Sep 9, 2019 · 1520 views
    This topic created in 2425 days ago, the information mentioned may be changed or developed.

    周末做了个 rollup 的使用文档, 昨晚它更新到 1.21.0,今天直接翻车。

    就问一个问题,output 多文件输出,怎么指定文件名啊

    原来是 file: 'dist/bundle.js' 直接输到 dist 文件夹下, 名字叫 bundle.js

    现在 多文件 必须使用 dir 这个参数, 但是只能是路径‘dist’,怎么设置文件名啊

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2706 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 14:56 · PVG 22:56 · LAX 07:56 · JFK 10:56
    ♥ Do have faith in what you're doing.