webpack-concat-plugin
Concat files for Webpack 4.X
Example
const WebPackConcatPlugin = ; moduleexports = module: rules: test: /\.$/ exclude: /node_modules/ use: loader: "babel-loader" // it will concat **files** in given order and // concat them into single **output** file plugins: buildPath: 'build' 'prod' output: 'output.js' files: 'file1.js' 'file2.js' ;