webpack.config.js const path = require('path'); module.exports = { entry: path.resolve(__dirname, "app.js"), output: { path: path.resolve(__dirname, 'dist'), filename: 'bundle.js' } // çç¥... } æ°ã«ãªãã¾ããï¼path ããã£ã¦ä½ãã¦ãã®ï¼ path.resolve(__dirname, 'dist') ãããªã㦠__dirname + '/dist' ã§ãããããã£ã¦ã ã¨ããããrequire(âpathâ)ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã ããããâpathâã£ã¦ã¤ã³ã¹ãã¼ã«ãã¦ãªããã ãã© ããããpathã£ã¦npm installã¨ãã§ã¤ã³ã¹ãã¼ã«ãã¦ããªããã§ããã©ã£ã¦æããªãã ãã©ãªãã使ãããã
{{#tags}}- {{label}}
{{/tags}}