Skip to content

Commit

Permalink
Simplify src/ folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarrison committed Dec 30, 2023
1 parent c89fed6 commit b4f8ad0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SupportQuery, Supported, TimeCardOptionsMessage } from '../time-card.d'
import fillOutForm from './lib/fill-form'
import { navigateToAddTimeCard, isSupportedPage } from './lib/navigate-to-time-cards'
import { SupportQuery, Supported, TimeCardOptionsMessage } from './time-card'
import fillOutForm from './content-script/fill-form'
import { navigateToAddTimeCard, isSupportedPage } from './content-script/navigate-to-time-cards'

chrome.runtime.onMessage.addListener(
async function(request: TimeCardOptionsMessage | SupportQuery, _, sendResponse) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TimeCardOptions } from '../../time-card.d'
import { TimeCardOptions } from '../time-card'
import { waitForElms, findOne, xpathSnapshotToArray } from './domQuery';

function sleep(ms: number) {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');

module.exports = {
entry: {
'content-script': './src/content-script/content-script.ts',
'content-script': './src/content-script.ts',
'service-worker': './src/service-worker.ts',
'settings': './src/settings-page/settings.js',
},
Expand Down

0 comments on commit b4f8ad0

Please sign in to comment.