Skip to content

Commit

Permalink
Completely disallow JS
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Aug 20, 2018
1 parent 01e7abb commit e077eab
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions src/main/modules/tray.ts
Expand Up @@ -42,8 +42,6 @@ class TrayModule extends ModuleWindow {
'tray-darwin-dark': nativeImage.createFromPath(path.join(logosPath, 'museeks-tray-dark.png'))
};

console.log(trayIcons);

// Make it "lightable" on macOS
trayIcons['tray-darwin-dark'].setTemplateImage(true);

Expand Down
3 changes: 0 additions & 3 deletions tsconfig.json
Expand Up @@ -4,15 +4,12 @@
"target": "es5",
"module": "esnext",
"jsx": "react",
"allowJs": true,
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": false,
"preserveConstEnums": true,
"sourceMap": true,
"strict": true,
"skipLibCheck": true,
"baseUrl": ".",
"typeRoots": [
"types/**/*.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion webpack.common.js
Expand Up @@ -60,7 +60,7 @@ const sharedConfig = {
module: {
rules: [
{
test: /\.(ts|tsx|js)([?]?.*)$/,
test: /\.(ts|tsx)([?]?.*)$/,
loader: 'ts-loader',
exclude: /node_modules/,
},
Expand Down

0 comments on commit e077eab

Please sign in to comment.