webpack
-
WebPack 다중 빌드 경로 예제자바스크립트 2021. 8. 8. 23:00
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 const path = require('path') var config = { // TODO: Add common Configuration module: {}, }; var homeConfig = Object.assign({}, config, { name: "home", entry: ['@babel/polyfill','./home/static/home/esnext/main.js'], output: { path: path.resolve(__dirname, 'home/static/home/js'), filename: "bundle.js" }, dev..