Skip to content

Commit

Permalink
refactor: 💡 lottie-image
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Aug 3, 2023
1 parent 023a912 commit afb23cc
Show file tree
Hide file tree
Showing 7 changed files with 304 additions and 276 deletions.
4 changes: 2 additions & 2 deletions packages/dotlottie-js/jasmine/jasmine-browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"specDir": "src/tests",
"specFiles": ["**/*.spec.mjs"],
"env": {
"stopSpecOnExpectationFailure": true,
"stopOnSpecFailure": true
"stopSpecOnExpectationFailure": false,
"stopOnSpecFailure": false
},
"browser": {
"name": "headlessChrome"
Expand Down
2 changes: 1 addition & 1 deletion packages/dotlottie-js/jasmine/tsup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig(({ platform }) => {
platform,
target: ['esnext'],
tsconfig: 'tsconfig.build.json',
noExternal: platform === 'browser' ? ['fflate', 'browser-image-hash'] : ['browser-image-hash'],
noExternal: platform === 'browser' ? ['fflate', 'browser-image-hash', 'zod'] : ['browser-image-hash'],
loader: {
'.lottie': 'binary',
'.lss': 'text',
Expand Down
Loading

0 comments on commit afb23cc

Please sign in to comment.