webpack.js 343 B

1234567891011121314
  1. const path = require('path')
  2. module.exports = {
  3. entry: {
  4. accessibility: path.join(__dirname, 'src', 'main.js'),
  5. accessibilityoca: path.join(__dirname, 'src', 'accessibilityoca.js'),
  6. },
  7. output: {
  8. path: path.resolve(__dirname, './js'),
  9. publicPath: '/js/',
  10. filename: '[name].js',
  11. jsonpFunction: 'webpackJsonpAccessibility',
  12. },
  13. }