Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Replaced FaviconWebpackPlugin to WebappWebpackPlugin #22

Closed
wants to merge 4 commits into from

Conversation

rishabh3112
Copy link
Contributor

Resolves #11
Requires a check @sendilkumarn

Copy link
Owner

@sendilkumarn sendilkumarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rishabh3112
It looks great 👍

generator.js Outdated
@@ -136,8 +136,8 @@ module.exports = class WebpackGenerator extends Generator {
.then(answer => {
if (answer) {
favPath = answer['favPath'];
this.options.env.configuration.dev.topScope.push('const FaviconsWebpackPlugin = require("favicons-webpack-plugin");');
this.dependencies.push("favicons-webpack-plugin");
this.options.env.configuration.dev.topScope.push("const WebappWebpackPlugin = require('webapp-webpack-plugin');");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please revert the quotes here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, In next commit

@rishabh3112
Copy link
Contributor Author

@sendilkumarn can you create a basic scaffold to check whether this fix actually solves the problem or not?
Just for a cross-check

@rishabh3112
Copy link
Contributor Author

@sendilkumarn I have cross checked it and I think it's ready to merge.

rishabh3112 added a commit to rishabh3112/webpack-scaffold-pwa that referenced this pull request Jul 25, 2018
@sendilkumarn
Copy link
Owner

I am on it 👍 I will merge this today 😊

@rishabh3112
Copy link
Contributor Author

It will certainly cause a conflict with #24 @sendilkumarn. I have integrated #22 into #24.

@sendilkumarn
Copy link
Owner

Closing this in favor of #24

sendilkumarn pushed a commit that referenced this pull request Jul 27, 2018
* fix: Replaced FaviconWebpackPlugin to WebappWebpackPlugin

* bugfix(favicon): Revert quotes

* bugfix(favicon): Removed unnecessory manifest.json file

* feat(swReference): Add html-webpack-plugin and Update Tests

* feat(seReference): [Feature Working] Add template for index.js

* feat(swReference): Add support for custom entry

* feat(swReference): Change copy destination of manifest.json to root

* bugfix: fixed some minor issues

* feat: All fix and merge in this branch
Closes #22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants