-
Notifications
You must be signed in to change notification settings - Fork 94
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
Documentation on adding a starterkit needs amending #11
Comments
Yup you are correct, it's a typo the first line should be |
Thanks. Still working out how to customize this wrapper in certain ways (like adding the html-webpack-plugin to my webpack.app.js, as it seems to blow away the patternlab iframe wrapper), but thanks for making it. I hope it eventually becomes a new standard approach for the node version. |
Have you seen this: https://github.com/Comcast/patternlab-edition-node-webpack#setting-the-webpack-merge-options there's a link there to a readme that goes over the webpack merge options. |
Yes, I did read that and the merge docs for webpack. Just experimenting to see how things work. Patternlab adds a layer of indirection (or that's how I'm seeing it) with the wrapper around the iframe that contains your actual bundles. That said, I have gotten some customizations to work, and merging options seem sensible. |
I found the following issue:
The documentation on adding a starter kit seems a little off.
I've added the starterkit-mustache-demo, but that's inserted scripts in my source/js file that aren't being picked up during development.
I think I'll need to expose them as modules and either append to my entry js or expose as new entries. Or figure out how to update the copy plugin to catch non-modular JS and copy from source to public.
This may be an issue of using non-webpack starterkits with the webpack wrapper.
In any case, the documentation says
But there is no
add
script inpackage.json
Recommendations on Solutions:
Amend documentation to explain how to do this, and/or how to deal with problems with available starter kits. Thanks.
The text was updated successfully, but these errors were encountered: