Skip to content

Commit

Permalink
build: updates import paths for addon compatibility. (#47)
Browse files Browse the repository at this point in the history
* feat(deps): migrates to sheetjs cdn.

* chore: removes relative imports.
  • Loading branch information
matthewhartstonge authored Oct 23, 2024
1 parent 55698e9 commit 8a73bc0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon/services/csv.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Service from '@ember/service';
import optionize from '@linc-technologies/ember-spreadsheet-export/utils/utils';
import { saveAs } from 'file-saver';
import optionize from '../utils/utils';

const defaultConfig = {
download: true,
Expand Down
2 changes: 1 addition & 1 deletion addon/services/excel.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Service from '@ember/service';
import optionize from '@linc-technologies/ember-spreadsheet-export/utils/utils';
import { saveAs } from 'file-saver';
import XLSX from 'xlsx';
import optionize from '../utils/utils';

const defaultConfig = {
sheetName: 'Sheet1',
Expand Down
4 changes: 2 additions & 2 deletions tests/test-helper.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Application from '../app';
import config from '../config/environment';
import Application from '@linc-technologies/ember-spreadsheet-export/app';
import config from '@linc-technologies/ember-spreadsheet-export/config/environment';
import { setApplication } from '@ember/test-helpers';
import { start } from 'ember-qunit';

Expand Down

0 comments on commit 8a73bc0

Please sign in to comment.