Skip to content

Commit

Permalink
Fix webpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
hoogi91 committed Aug 1, 2024
1 parent d44cdfe commit 450d2a8
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 627 deletions.
2 changes: 1 addition & 1 deletion Resources/Private/Assets/JavaScript/dsn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {colHeaderToIndex} from "./helper";
import {colHeaderToIndex} from "./helper.js";

export default class DSN {
constructor(value) {
Expand Down
8 changes: 4 additions & 4 deletions Resources/Private/Assets/JavaScript/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import DSN from './dsn';
import Renderer from './renderer';
import Spreadsheet from './spreadsheet';
import Selector from "./selector";
import DSN from './dsn.js';
import Renderer from './renderer.js';
import Spreadsheet from './spreadsheet.js';
import Selector from "./selector.js";
import DocumentService from 'DocumentService';

class SpreadsheetDataInput {
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Assets/JavaScript/renderer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DSN from "./dsn";
import {colHeaderByIndex} from "./helper";
import DSN from "./dsn.js";
import {colHeaderByIndex} from "./helper.js";

export default class Renderer {
constructor(sheetWrapper, tableWrapper) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Assets/JavaScript/selector.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {calculateCellIndexes, cellRepresentation, throttle, unselectEverything} from "./helper";
import {calculateCellIndexes, cellRepresentation, throttle, unselectEverything} from "./helper.js";

export default class Selector {
constructor(tableWrapper) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Assets/JavaScript/spreadsheet.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import DSN from './dsn';
import DSN from './dsn.js';

export default class Spreadsheet {
constructor(dsn, data) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/SpreadsheetDataInput.js

Large diffs are not rendered by default.

Loading

0 comments on commit 450d2a8

Please sign in to comment.