Allowing the disabling or removal of the HTMLPlugin
See original GitHub issueWhat problem does this feature solve?
I’m using v3.0.0-beta.15 of the CLI.
I have an existing backend that generates it’s down default document. I don’t need an index.html file generated or copied to my output folder.
I’m able to run vue create .
in a sub folder of my project. I’ve manually deleted the public
folder. Then I’ve created a vue.config.js
file and tried the follow 3 options. However, non of these options work in preventing the index.html being copied.
chainWebpack: config => {
config.plugin('html').clear();
}
....
chainWebpack: config => {
config.plugins.delete('html');
}
....
chainWebpack: config => {
config.plugins.delete('copy');
}
What does the proposed API look like?
This configuration setting should work, unless there’s an alternative API already available that would be a better fit.
chainWebpack: config => {
config.plugins.delete('html');
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Disabling or enabling a plugin - Atlassian Documentation
Disabling a plugin · Click the 'Manage Existing' tab. · Locate the plugin that you want to disable and click the title to...
Read more >Enabling and Disabling Plugins - AresMUSH
Select Admin -> Setup. Select “Enable or Disable Plugins”. Check or uncheck plugins to enable/disable them. Note Even if a plugin is not...
Read more >Removing and disabling plugins - Jenkins
Jenkins : Removing and disabling plugins. Jenkins allows you to disable a plugin as well as uninstall a plugin. What are the difference?...
Read more >How to Disable CSS and JavaScript Added by Plugins
How to Disable CSS and JavaScript Added by Plugins ; Step 1: Get the ID; Step 2: Dequeue script or style; Real live...
Read more >Removing/Suppressing 'You may use these HTML tags ...
Based on other comments I have found, I removed the code from the form-topic, -reply and -forum.php files (code= the php around <p...
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 FreeTop 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
Top GitHub Comments
@Akryum - if you would like to keep it dynamic, you could do following:
@MrToy I faced a similar issue with
pages
:To find out the plugin names to delete:
vue inspect --plugins
.