Skip to content

Commit

Permalink
Add Webpack 4 sample (#830)
Browse files Browse the repository at this point in the history
* Move Webpack 5 sample to webpack5 directory

* Add Webpack 4 sample
  • Loading branch information
wojtekmaj committed Aug 13, 2021
1 parent afc4cfe commit 0290189
Show file tree
Hide file tree
Showing 20 changed files with 8,981 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions sample/webpack4/package.json
@@ -0,0 +1,38 @@
{
"name": "react-pdf-sample-page-webpack4",
"version": "4.0.0",
"description": "A sample page for React-PDF.",
"private": true,
"scripts": {
"build": "NODE_ENV=production webpack",
"start": "NODE_ENV=development webpack serve"
},
"author": {
"name": "Wojciech Maj",
"email": "kontakt@wojtekmaj.pl"
},
"license": "MIT",
"dependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-pdf": "latest"
},
"devDependencies": {
"@babel/core": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"@babel/preset-react": "^7.12.0",
"babel-loader": "^8.0.0",
"copy-webpack-plugin": "^6.4.0",
"css-loader": "^4.3.0",
"html-webpack-plugin": "^4.5.0",
"less": "^4.0.0",
"less-loader": "^7.3.0",
"style-loader": "^1.2.0",
"webpack": "^4.46.0",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0"
},
"resolutions": {
"semver@7.0.0": "^7.0.0"
}
}
File renamed without changes.
File renamed without changes.

0 comments on commit 0290189

Please sign in to comment.