Is it possible to make the webpack entry points coincide with the exit points without third-party tools? Suppose I have several files:
const path = require('path'); module.exports = { entry: { 'wheel': './public/WheelOfFortune/js/main.js', 'abc': './public/abc/js/main.js', 'cde': './public/cde/js/main.js', }, output: { // Как есть сейчас path: path.resolve(__dirname, 'test'), filename: '[name].js' }, plugins: [ ... // Здесь я взаимодействую с входящими файлами }) ] }; Those. after all my operations, webpack is required to replace files from the same directories from which I took
./public/WheelOfFortune/js/main.jsfile - do you want it to be replaced with a processed one during assembly? or so that the build result is replaced in the dist folder, for example? - Grundy