Skip to content

Commit

Permalink
chore: update build and code deps
Browse files Browse the repository at this point in the history
  • Loading branch information
meabed committed Dec 28, 2022
1 parent 7b97a2e commit 871be4a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.0.7](https://github.com/devme/react-qr-code/compare/v1.0.6...v1.0.7) (2022-12-28)
- Simplify build process
- Move the bundle umd only
- Update dependencies

### [1.0.6](https://github.com/devme/react-qr-code/compare/v1.0.5...v1.0.6) (2022-01-09)
- Remove qr.js as dependency
- Migrate qr.js to local typescript implementation
Expand Down
4 changes: 3 additions & 1 deletion examples/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ function App() {
}


ReactDOM.render((<App/>), document.getElementById('root'))
const container = document.getElementById('root')
const root = ReactDOM.createRoot(container);
root.render(<App tab="home" />);
4 changes: 2 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export default {
output: {
sourcemap: true,
dir: 'dist',
name: 'react-qr-code',
format: 'cjs',
name: 'ReactQrCode',
format: 'umd',
exports: 'named',
},
plugins: [
Expand Down
7 changes: 4 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
"stripInternal": true,
"declaration": true,
"declarationMap": true,
"declarationDir": "dist/types",
"outDir": "dist/esm5",
"declarationDir": "./dist",
"outDir": "dist",
"resolveJsonModule": true,
"importHelpers": true
"importHelpers": true,
"rootDir": "./src"
},
"include": [
"./src"
Expand Down

0 comments on commit 871be4a

Please sign in to comment.