jackShell
V2EX  ›  问与答

rollup 工具使用 v1.21.0

  •  
  •   jackShell · Sep 9, 2019 · 1800 views
    This topic created in 2547 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   ·   Privacy   ·   Solana   ·   2876 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
    ♥ Do have faith in what you're doing.