Skip to content

Commit

Permalink
fixes legacy import
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed Oct 22, 2023
1 parent 3d4a368 commit 24f2685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/PlayerGoals.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Page from '@/components/Page.vue';
import objectArrayify from '@Utils/objectArrayify';
const goals = process.env.VUE_APP_NEBULA_BUILD ? undefined : require(`@Data/player_goals.js`);
const goals = process.env.VUE_APP_NEBULA_BUILD ? undefined : require(`@Data/player_goals.js`).default;
const INDEXES = ['X', 'Y', 'Z'];
const VALUE_BY_INDEX = {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/YellowStar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import img from '@Img/game/portraits/portrait_YellowStar.png';
import compileOne from '@Utils/compileOne.ts';
const prices = process.env.VUE_APP_NEBULA_BUILD ? [] : require(`@Data/colonize_prices.js`);
const prices = process.env.VUE_APP_NEBULA_BUILD ? [] : require(`@Data/colonize_prices.js`).default;
const ys = { ...stars.YellowStar };
delete ys.Models;
Expand Down

0 comments on commit 24f2685

Please sign in to comment.