Giter Site home page Giter Site logo

Comments (3)

shenqihui avatar shenqihui commented on September 26, 2024

发现了这个问题。我这也没有生成。

from roadhog.

shenqihui avatar shenqihui commented on September 26, 2024

重现结果如下:

正确生成

1、multipage 设置成 true
2、entry 为 ["src/index.js"]
3、src/index.js 片段

import './index.html';
import './index.css';

这种会正确生成 common.css 以及 index.css

不正确生成

将上面的 index.* 文件改名改成 admin.* ,同时修改对应的 import 及配置 entry ,发现就没有输出 common.css 和 admin.css 。(server 模式)
这个时候运行 roadhog build , 将得到 admin.html admin.js admin.css commom.js 没了 common.css

from roadhog.

baby2011 avatar baby2011 commented on September 26, 2024

你好,怎么加入html-webpack-plugin

from roadhog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.