Skip to content

Commit

Permalink
chore: remove unnecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
zaccharles committed Aug 1, 2022
1 parent 5874f85 commit 79a18dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions source/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"16": "assets/icons/favicon-16.png",
"32": "assets/icons/favicon-32.png",
"48": "assets/icons/favicon-48.png",
"64": "assets/icons/favicon-64.png",
"128": "assets/icons/favicon-128.png"
},
"description": "Color AWS Step Functions states",
Expand Down
22 changes: 11 additions & 11 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const extensionReloaderPlugin =
entries: {
// TODO: reload manifest on update
contentScript: 'contentScript',
background: 'background',
extensionPage: ['popup', 'options'],
// background: 'background',
extensionPage: ['popup' /* 'options' */],
},
})
: () => {
Expand Down Expand Up @@ -59,10 +59,10 @@ module.exports = {

entry: {
manifest: path.join(sourcePath, 'manifest.json'),
background: path.join(sourcePath, 'Background', 'index.ts'),
// background: path.join(sourcePath, 'Background', 'index.ts'),
contentScript: path.join(sourcePath, 'ContentScript', 'index.ts'),
popup: path.join(sourcePath, 'Popup', 'index.tsx'),
options: path.join(sourcePath, 'Options', 'index.tsx'),
// options: path.join(sourcePath, 'Options', 'index.tsx'),
},

output: {
Expand Down Expand Up @@ -157,13 +157,13 @@ module.exports = {
hash: true,
filename: 'popup.html',
}),
new HtmlWebpackPlugin({
template: path.join(viewsPath, 'options.html'),
inject: 'body',
chunks: ['options'],
hash: true,
filename: 'options.html',
}),
// new HtmlWebpackPlugin({
// template: path.join(viewsPath, 'options.html'),
// inject: 'body',
// chunks: ['options'],
// hash: true,
// filename: 'options.html',
// }),
// write css file(s) to build folder
new MiniCssExtractPlugin({filename: 'css/[name].css'}),
// copy static assets
Expand Down

0 comments on commit 79a18dd

Please sign in to comment.