0

webpack.js の複数の出力ポイントに対応する複数のエントリ ポイントを使用できますか?

例えば

module.exports = {
    entry: './pathA1/fileA1',
    output: {
        path: './pathA2',
        filename: 'fileA2'
    },
    entry: './pathB1/fileB1',
    output: {
        path: './pathB2',
        filename: 'fileB2'
    }
}

エントリ ./pathA1/fileA1 を ./pathA2/fileA2 にコピーし、エントリ ./pathB1/fileB1 を ./pathB2/fileB2 にコピーしてください。

4

1 に答える 1