Skip to content

Commit

Permalink
feat: add new config to remove chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
sarojbelbase committed Oct 30, 2022
1 parent 0aa159e commit 4ceeca5
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.vscode/
package-lock.json
node_modules/
dist
.vscode
*.zip
package-lock.json
dist
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,25 @@ A chrome/firefox extension to show distraction free nepali date on your new tab.

<img src="src/assets/img/hero.png" width="100%" height="auto">

## Web Version
## Deployments

[See Deployed Version](https://whatsthemiti.sarojbelbase.com.np/)
- [Chrome Web Store](https://chrome.google.com/webstore/detail/undistracted-me/dfgbijakkhepoonhaelocdmcleeehmef/)

## Firefox Installation
- [Firefox Addons](https://addons.mozilla.org/en-US/firefox/addon/undistracted-me/)

[Link to the extension](https://addons.mozilla.org/en-US/firefox/addon/undistracted-me/)
- [Official Website](https://whatsthemiti.sarojbelbase.com.np/)

## Chrome Installation
## Build Setup

[Link to the extension](https://chrome.google.com/webstore/detail/undistracted-me/dfgbijakkhepoonhaelocdmcleeehmef/)
``` bash
# first, install dependencies
npm install

# then, bundle this extension with
npm run bundle
```

It will generate `undistracted-me.zip` file in root directory which you can upload to chrome web store or firefox addons store.

## Offline Installation

Expand Down
17 changes: 9 additions & 8 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,31 @@
"background": {
"persistent": true,
"scripts": [
"js/app.feb4d37f.js",
"js/chunk-vendors.01b97fcc.js"
"bundle.js"
]
},
"browser_action": {
"default_icon": {
"128": "favicon/undistractedme-128.png",
"16": "favicon/undistractedme-16.png",
"24": "favicon/undistractedme-24.png",
"32": "favicon/undistractedme-32.png"
"16": "favicon/lotus16.png",
"24": "favicon/lotus24.png",
"32": "favicon/lotus32.png",
"128": "favicon/lotus128.png"
},
"default_title": "Undistracted Me"
},
"chrome_url_overrides": {
"newtab": "index.html"
},
"permissions": ["tabs"],
"permissions": [
"tabs"
],
"description": "Replaces your new tabs with a distraction free nepali date.",
"homepage_url": "https://whatsthemiti.sarojbelbase.com.np",
"icons": {
"128": "favicon/lotus128.png",
"16": "favicon/lotus16.png",
"32": "favicon/lotus32.png",
"48": "favicon/lotus48.png",
"128": "favicon/lotus128.png",
"512": "favicon/lotus512.png"
},
"incognito": "spanning",
Expand Down
19 changes: 19 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
outputDir: 'dist',
css: {
extract: false,
},
configureWebpack: {
optimization: {
splitChunks: false
},
output: {
filename: 'bundle.js'
},
performance: {
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000
}
}
}

0 comments on commit 4ceeca5

Please sign in to comment.