webpack.config.js 191 B

123456789
  1. const path = require('path');
  2. module.exports = {
  3. mode:'none',
  4. entry:'./src/index.js',
  5. output:{
  6. path: path.resolve(__dirname,"./dist"),
  7. filename: 'main.js',
  8. }
  9. }