Updated Setup PDF.js in a website (markdown)

TT TY 2015-03-03 12:09:59 +00:00
parent d31657f492
commit 0a9080c5af

@ -17,7 +17,6 @@ If you use webpack or browserify there is an easy way to require the files:
// Install `npm install url-loader` first.
// This will enable you to get the url of the worker and the pdf to use in the index.js.
// Notice that for the build process it might need some extra work.
webpackConfig.module.loaders = {
test: /\.pdf$|pdf\.worker\.js$/,
loader: "url-loader?limit=10000"