Skip to content

Commit 48b83ae

Browse files
committed
ts refence
1 parent 9c34ef6 commit 48b83ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

example/web/typescript/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "dbrjs-ts",
33
"version": "1.0.0",
44
"dependencies": {
5+
"keillion-dynamsoft-javascript-barcode": "0.20200330.4",
56
"@types/node": "^13.9.8",
67
"typescript": "^3.8.3"
78
}

example/web/typescript/script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path="../../../dist/dbr.reference.d.ts" />
1+
/// <reference path="./node_modules/keillion-dynamsoft-javascript-barcode/dist/dbr.reference.d.ts" />
22

33
Dynamsoft.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/keillion-dynamsoft-javascript-barcode@0.20200330.4/dist/";
44
// Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license

example/web/webpack/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
// plugins: [
1111
// new CopyPlugin([
1212
// {
13-
// from: './node_modules/dynamsoft-javascript-barcode/dist',
13+
// from: './node_modules/keillion-dynamsoft-javascript-barcode/dist',
1414
// to: path.resolve(__dirname, 'dist'),
1515
// ignore: ['*.ts'],
1616
// }

0 commit comments

Comments
 (0)