webpack.js 263 B

1234567891011
  1. const path = require('path')
  2. module.exports = {
  3. entry: path.join(__dirname, 'src', 'init.js'),
  4. output: {
  5. path: path.resolve(__dirname, './js'),
  6. publicPath: '/js/',
  7. filename: 'updatenotification.js',
  8. jsonpFunction: 'webpackJsonpUpdatenotification'
  9. }
  10. }