hanxu317138
V2EX  ›  问与答

哪个老哥分享一个 webpack 配置

  •  
  •   hanxu317138 · Jan 14, 2025 · 2113 views
    This topic created in 680 days ago, the information mentioned may be changed or developed.

    面向 react

    • 支持 jsx, tsx
    • 解析 index.css, index.module.css 二咱样式都支持 less/sass 语法
    • 支持 font 字体文件引入, woff/woff2
    • 所有 css + js 中的静态资源引用都打包到 dist/static 下

    哪位老哥有这个配置求分享. 现在不想看文档了. 头疼~

    2 replies  •  2025-01-15 10:35:28 +08:00
    per
    per
    Jan 15, 2025
    1
    https://createapp.dev/ 试试这个?
    hanxu317138
    hanxu317138
    OP
    Jan 15, 2025
    2
    @per 好玩意~~感谢~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2055 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 83ms · UTC 14:53 · PVG 22:53 · LAX 06:53 · JFK 09:53
    ♥ Do have faith in what you're doing.