jackShell
V2EX  ›  问与答

rollup 工具使用 v1.21.0

  •  
  •   jackShell · Sep 9, 2019 · 1635 views
    This topic created in 2462 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   ·   2827 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 15:05 · PVG 23:05 · LAX 08:05 · JFK 11:05
    ♥ Do have faith in what you're doing.