Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 16, 2017
1 parent 80ed1e6 commit 03344e7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion sample/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');

module.exports = {
context: __dirname,
entry: './sample',
entry: './Sample',
output: {
path: path.join(__dirname, 'build'),
filename: '[name].bundle.js',
Expand Down
1 change: 0 additions & 1 deletion src/entry.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Document from './Document';
import Page from './Page';

require('babel-polyfill');
require('pdfjs-dist');
require('pdfjs-dist/web/compatibility');

Expand Down
1 change: 0 additions & 1 deletion src/entry.webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ if (isLocalFileSystem()) {
console.warn('You are running React-PDF from your local file system. PDF.js Worker may fail to load due to browser\'s security policies. If you\'re on Google Chrome, you can use --allow-file-access-from-files flag for debugging purposes.');
}

require('babel-polyfill');
require('pdfjs-dist/webpack');
require('pdfjs-dist/web/compatibility');

Expand Down
1 change: 0 additions & 1 deletion test/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { AppContainer } from 'react-hot-loader';
import Test from './Test';

const render = (Component) => {
console.log('Rendering...');
ReactDOM.render(
<AppContainer>
<Component />
Expand Down

0 comments on commit 03344e7

Please sign in to comment.