Skip to content

Commit

Permalink
Merge pull request #24 from observerly/bugfix/build/defineViteConfig
Browse files Browse the repository at this point in the history
[Bugfix] Typo fixes to the build process for useaestrium.
  • Loading branch information
michealroberts authored Dec 29, 2021
2 parents be70c6a + 3db4026 commit f7b3bdc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/observerly"
},
"main": "./dist/aestrium.es.js",
"main": "./dist/useaestrium.es.js",
"types": "./dist/src/index.d.ts",
"module": "./dist/aestrium.es.js",
"module": "./dist/useaestrium.es.js",
"exports": {
".": {
"import": "./dist/aestrium.es.js",
"require": "./dist/aestrium.umd.js"
"import": "./dist/useaestrium.es.js",
"require": "./dist/useaestrium.umd.js"
}
},
"unpkg": "./dist/aestrium.umd.js",
"jsdelivr": "./dist/aestrium.umd.js",
"unpkg": "./dist/useaestrium.umd.js",
"jsdelivr": "./dist/useaestrium.umd.js",
"files": [
"dist"
],
Expand Down
4 changes: 2 additions & 2 deletions vite.lib.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export default defineConfig({
build: {
lib: {
entry: resolve(__dirname, 'src/index.ts'),
name: 'aestrium',
fileName: format => `aestrium.${format}.js`
name: 'useaestrium',
fileName: format => `useaestrium.${format}.js`
}
}
})

0 comments on commit f7b3bdc

Please sign in to comment.