Skip to content

Commit

Permalink
Fix/Build (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: Yehor Podporinov <[email protected]>
  • Loading branch information
yehor-podporinov and Yehor Podporinov authored Jan 15, 2024
1 parent 12c277c commit 4727557
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"rsc": "node scripts/release-sanity-check.mjs"
},
"dependencies": {
"@distributedlab/tools": "^1.0.0-rc.4",
"@distributedlab/w3p": "^0.2.0-rc.24",
"@distributedlab/tools": "^0.2.0",
"@distributedlab/w3p": "^0.2.0",
"@vuelidate/core": "^2.0.0",
"@vuelidate/validators": "^2.0.0",
"@vueuse/core": "^10.1.2",
Expand Down
12 changes: 12 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ export default defineConfig(({ mode }) => {
}
: {}),
publicDir: 'static',

build: {
rollupOptions: {
output: {
manualChunks: {
w3p: ['@distributedlab/w3p']
},
},
},
},

plugins: [
vue(),

Expand Down Expand Up @@ -79,6 +90,7 @@ export default defineConfig(({ mode }) => {
'@': `${root}/`,
'@config': `${root}/config.ts`,
'@static': `${root}/../static`,
'near-api-js': 'near-api-js/dist/near-api-js.min.js',
},
},
/**
Expand Down
13 changes: 2 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz#798622546b63847e82389e473fd67f2707d82247"
integrity sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==

"@distributedlab/[email protected]":
"@distributedlab/[email protected]", "@distributedlab/tools@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@distributedlab/tools/-/tools-0.2.0.tgz#feb016465ff2034d3d3647ad9c9b725fba409418"
integrity sha512-x1vxPLsvE+H99+8QKOO+uChQBzhzp5brURIjqOXAMhpdj4p5RqPvCaRmmWVcjBHSjJRrJvnBJi1DsOxp76mxDA==
Expand All @@ -69,16 +69,7 @@
dayjs "^1.11.7"
tslib "^2.5.0"

"@distributedlab/tools@^1.0.0-rc.4":
version "1.0.0-rc.4"
resolved "https://registry.yarnpkg.com/@distributedlab/tools/-/tools-1.0.0-rc.4.tgz#472b12914227a5865572a5dfbaaf8fcc9ffffb70"
integrity sha512-SL/qvmjo34f5XwQGDF5LcLxaihHl/wjfx16Gn8l+Wqae6QkFMAEjxSvHNfHpsPXkp9YhUx0jetTwaVexy51fZA==
dependencies:
bignumber.js "^9.1.1"
dayjs "^1.11.7"
tslib "^2.5.0"

"@distributedlab/w3p@^0.2.0-rc.24":
"@distributedlab/w3p@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@distributedlab/w3p/-/w3p-0.2.0.tgz#e5c843fa113648904596420b9407cef354cea443"
integrity sha512-OUOSMdVTINDO/dYJE8YRxID3pnaFMA5mfoi0SfDLUJ7bbmI8bd3LxS4cZTbNogn7Ih62onLPaJvpEn7xmUK8VQ==
Expand Down

0 comments on commit 4727557

Please sign in to comment.