Skip to content

Commit

Permalink
fix(webpack): fix issue with userscript missing its header
Browse files Browse the repository at this point in the history
  • Loading branch information
YePpHa committed Mar 25, 2018
1 parent 8e8d3b4 commit 2a0368f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/userscript.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const config = merge(common, {
},
plugins: [
new WrapperPlugin({
test: /\.js$/,
test: /\.user\.js$/,
header: generateMetadataBlock(metadata)
})
]
Expand Down
3 changes: 3 additions & 0 deletions config/webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const config = {
resolve: {
extensions: ['.ts', '.tsx', '.js']
},
optimization: {
minimize: false
},
module: {
rules: [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "project-maia",
"version": "0.2.0",
"version": "0.2.1",
"description": "Enhances the user experience on YouTube by providing useful features.",
"keywords": [
"YouTube",
Expand Down

0 comments on commit 2a0368f

Please sign in to comment.