Skip to content

Commit

Permalink
build: change output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Aug 22, 2023
1 parent 485f7cc commit 4685cca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ node_modules/

# Distribution folder
dist/
lib/

# Istanbul Test Coverage
.nyc_output
# Test Coverage
coverage/

# Documentation
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "browser-version-detection",
"version": "2.2.1",
"description": "Browser detection using the user agent, returns the name and version of the browser",
"main": "dist/browser-detection.js",
"main": "lib/browser-detection.js",
"types": "lib/browser-detection.d.ts",
"type": "module",
"scripts": {
"start": "vite",
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export default defineConfig({
// the proper extensions will be added
fileName: 'browser-detection',
},
outDir: 'lib'
},
})

0 comments on commit 4685cca

Please sign in to comment.