Question: why aren't we allowed to make multiple shared entries?
See original GitHub issueHi,
Just today I noticed that in webpack-encore it’s impossible to create two shared entries? For example I’d like to have one for my frontend and one for my backend because different scripts will be on each area of my app but they will still be reused through each app’s respective area.
However in
node_modules/@symfony/webpack-encore/lib/WebpackConfig.js:199
it’s throwing an exception createSharedEntry() cannot be called multiple times: you can only create *one* shared entry.
If I disable that check it creates the two shared entries with different names normally and they seem to work OK. Is there a specific reason not to create multiple shared entries?
Thanks in advance.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:24 (8 by maintainers)
Top Results From Across the Web
Formatting Answer Choices - Qualtrics
Attention: Allow Text Entry is not compatible with dropdown multiple choice questions. Adding & Removing Text Entry on Answer Choices. Select the answer...
Read more >6 Google Forms settings you should know about - Zapier
Make sure everyone only submits one entry. By default, Google Forms don't collect email addresses. This is useful because people can respond ...
Read more >Guide to table relationships - Microsoft Support
There are several reasons why you should create table relationships before you create other database objects, such as forms, queries and reports. Table ......
Read more >How to Ask Great Questions - Harvard Business Review
We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to...
Read more >Share your calendar with someone - Google Support
Tip: To share a calendar that you don't own, you need to ask the owner to give you “Make changes and manage sharing”...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll try. I hope that this help 😃
backend.acme.com
- all files require jquery and bootstrap butbackend_admin
page has specified code available only for page administratorsEvery backend page:
When admin visit backend page:
Another subdomain,
support.acme.com
, all page require jquery and moment:Every support page:
When user is logged to support:
Hi guys!
Closing this issue. The reason is that the CommonsChunkPlugin was replaced by the SplitChunksPlugin, which the latest version of Encore supports. The way it splits is much more intelligent and highly configurable.
Cheers!