Skip to content

Commit

Permalink
Implement feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Diana Fulga committed Feb 19, 2024
1 parent d6a579b commit 7cf5ce1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"analyze": "bash ./scripts/analyze.sh",
"build": "bash ./scripts/build.sh",
"dev": "bash ./scripts/dev.sh chrome",
"dev": "bash ./scripts/dev.sh",
"lint": "concurrently \"lint:*\"",
"lint:fix": "eslint --ext js,jsx,ts,tsx, src --fix",
"lint:eslint": "eslint . --ext .js,.ts,.tsx --max-warnings 0 --ignore-path .gitignore",
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/content/static/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ function inject(configure: (_script: HTMLScriptElement) => void) {
const script = document.createElement('script')
configure(script)
document.documentElement.appendChild(script)
document.documentElement.removeChild(script)
}

// eslint-disable-next-line @typescript-eslint/no-extra-semi
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const getOutput = (browserDir: string, outputDir = Directories.DEV_DIR) =
export const getEntry = (sourceDir = Directories.SRC_DIR) => {
return {
popup: [path.resolve(__dirname, `${sourceDir}/popup/index.tsx`)],
content: [path.resolve(__dirname, `${sourceDir}/content/index.tsx`)],
content: [path.resolve(__dirname, `${sourceDir}/content/index.ts`)],
contentStatic: [path.resolve(__dirname, `${sourceDir}/content/static/index.ts`)],
background: [path.resolve(__dirname, `${sourceDir}/background/index.ts`)],
}
Expand Down

0 comments on commit 7cf5ce1

Please sign in to comment.