Skip to content

Commit

Permalink
fix: Run after build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Aug 9, 2024
1 parent b2a618e commit 055abfa
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@aleph-sdk/client": "^1.0.6",
"@aleph-sdk/ethereum": "^1.0.3",
"@aleph-sdk/message": "^1.0.7",
"@libertai/libertai-js": "file:../libertai-js/libertai-libertai-js-0.0.10.tgz",
"@libertai/libertai-js": "0.0.10-beta",
"@quasar/extras": "^1.16.12",
"@tanstack/vue-query": "^5.51.21",
"@wagmi/vue": "^0.0.36",
Expand Down
9 changes: 4 additions & 5 deletions quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
const { configure } = require('quasar/wrappers');
const { nodePolyfills } = require('vite-plugin-node-polyfills');

module.exports = configure(function (/* ctx */) {
module.exports = configure(function (ctx) {
return {
eslint: {
// fix: true,
Expand Down Expand Up @@ -71,10 +71,9 @@ module.exports = configure(function (/* ctx */) {
viteConf.plugins = [];
}
viteConf.plugins = [...viteConf.plugins, nodePolyfills()];
viteConf.define = {
...viteConf.define,
'process.browser': true,
};
if (ctx.dev) {
viteConf.define['process.browser'] = true;
}
},

// vueRouterBase,
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@quasar/app-vite/tsconfig-preset",
"compilerOptions": {
"allowJs": false,
"baseUrl": ".",
"target": "ESNext",
"skipLibCheck": true
Expand Down

0 comments on commit 055abfa

Please sign in to comment.