问答详情
源自:2-2 webpack配置的 entry 和 output new

命令显示生成两个,实际目录找不到哇?

F:\webpack-demo>npm run webpack


> webpack-demo@1.0.0 webpack F:\webpack-demo

> webpack --config webpack.config.js --progress --display-modules --colors --display-reasons


Hash: 07c8ca73a872a98e4212

Version: webpack 3.0.0

Time: 70ms

                       Asset     Size  Chunks             Chunk Names

main-07c8ca73a872a98e4212.js   2.5 kB       0  [emitted]  main

   a-07c8ca73a872a98e4212.js  2.52 kB       1  [emitted]  a

   [0] ./src/script/main.js 26 bytes {0} [built]

   [1] ./src/script/a.js 33 bytes {1} [built]


提问者:FE_FE 2017-07-05 11:25

个回答

  • FE_FE
    2017-07-05 12:09:18

    输出路径前\多余