2018-12-06 22:02:39 +09:00
|
|
|
var webpack = require('webpack'); // eslint-disable-line no-unused-vars
|
2015-12-22 04:46:50 +09:00
|
|
|
var path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
context: __dirname,
|
2016-04-13 22:24:25 +09:00
|
|
|
entry: {
|
|
|
|
'main': './main.js',
|
2018-12-06 21:55:15 +09:00
|
|
|
'pdf.worker': 'pdfjs-dist/build/pdf.worker.entry',
|
2016-04-13 22:24:25 +09:00
|
|
|
},
|
2018-05-20 22:18:43 +09:00
|
|
|
mode: 'none',
|
2015-12-22 04:46:50 +09:00
|
|
|
output: {
|
|
|
|
path: path.join(__dirname, '../../build/webpack'),
|
|
|
|
publicPath: '../../build/webpack/',
|
2018-12-06 21:55:15 +09:00
|
|
|
filename: '[name].bundle.js',
|
|
|
|
},
|
2015-12-22 04:46:50 +09:00
|
|
|
};
|