1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00
pdf.js/examples/webpack/webpack.config.js
2018-12-11 15:23:26 +01:00

16 lines
403 B
JavaScript

var webpack = require('webpack'); // eslint-disable-line no-unused-vars
var path = require('path');
module.exports = {
context: __dirname,
entry: {
'main': './main.js',
'pdf.worker': 'pdfjs-dist/build/pdf.worker.entry',
},
mode: 'none',
output: {
path: path.join(__dirname, '../../build/webpack'),
publicPath: '../../build/webpack/',
filename: '[name].bundle.js',
},
};