Skip to content

Commit

Permalink
fix: tsconfig typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ZipingL committed Dec 6, 2023
1 parent 9a25395 commit f6e185f
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "react-adobe-embed",
"version": "11.3.0",
"version": "11.3.3",
"homepage": "https://ziping-liu-corporation.github.io/react-adobe-embed/#/home",
"repository": {
"type": "git",
Expand Down Expand Up @@ -76,7 +76,7 @@
"test": "jest",
"build:canary": "npm run build:roll:canary && rsync -rhv --progress ./public/* ./build && cp ./README.md ./build && npm run build:roll:cdn && rsync -rhv --progress ./dist ./build/ && cp ./LICENSE ./build && npm run build:public",
"build:public": "node ./scripts/public.js",
"build:roll:canary": "rimraf lib && rollup --bundleConfigAsCjs -c rollup.config.canary.js",
"build:roll:canary": "rimraf build && rollup --bundleConfigAsCjs -c rollup.config.canary.js",
"predeploy": "npm run build:roll:canary",
"prepare": "husky install",
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./src ./canary",
Expand Down
1 change: 1 addition & 0 deletions rollup.config.canary.js
Expand Up @@ -42,6 +42,7 @@ const config = {
"**/__tests__",
"build",
"dist",
"lib"
],

},
Expand Down
25 changes: 15 additions & 10 deletions rollup.config.js
Expand Up @@ -68,17 +68,22 @@ export default [

resolve(),
commonjs(),
typescript({ tsconfig: "./tsconfig.json" ,


typescript({ tsconfig: "./tsconfig.json",
"sourceMap": true,
exclude: [
"canary",
"**/tests/**/*",
"**/*.test.tsx",
"**/*.test.ts",
"**/__tests__",
]

"tsconfigOverride": {
exclude: [
"canary",
"**/tests/**/*",
"**/*.test.tsx",
"**/*.test.ts",
"**/__tests__",
],
"outDir": "./lib",
"declaration": true,
"baseUrl": ".",
},

}),

terser( {
Expand Down
7 changes: 6 additions & 1 deletion tsconfig.build.json
Expand Up @@ -10,6 +10,11 @@
"webpack",
"jest",
"src/stories/**",
]
],

"compilerOptions": {
"outDir": "lib"
}

}

2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -118,7 +118,7 @@
},
"include": [
"./src",
"./canary"

],

"exclude": [
Expand Down

0 comments on commit f6e185f

Please sign in to comment.