@@ -4,6 +4,21 @@ This plugin simplifies the creation of script tags for module and nomodule for a
4
4
5
5
[ ![ npm version] ( https://badge.fury.io/js/html-webpack-multi-build-plugin.svg )] ( http://badge.fury.io/js/html-webpack-multi-build-plugin )
6
6
7
+ ### Proof of Concept
8
+
9
+ Please see this project more as a proof of concept then a fully fledged solution.
10
+
11
+ One day my supervisor gave me the following task:
12
+ I should create a build job which creates two bundles.
13
+ One bundle with polyfills for older browser, and one bundle with modern-js for newer browsers.
14
+ So we researched for ways to achieve this.
15
+ This respository contains a POC and all information we researched to this topic.
16
+ We even successully used the plugin in a few projects.
17
+
18
+ If you think something is wrong with this approach please do not hesitate to create a issue.
19
+ If you have an idea how to make this better, we are very happy about any clarification or contribution.
20
+ We know there are currently some down sides like the disabled preloading.
21
+
7
22
### Why do you want to do this?
8
23
9
24
Most developers still transpile their code to ES5 and bundle it with polyfills to provide support for older browsers.
@@ -42,7 +57,6 @@ The included template add's tags for async (non blocking) css
42
57
https://webpack.js.org/configuration/configuration-types/#exporting-multiple-configurations
43
58
44
59
### How to use this addon?
45
-
46
60
Check out my [ Example Project] ( https://github.com/firsttris/html-webpack-multi-build-plugin/tree/master/example )
47
61
48
62
Summarized
@@ -87,4 +101,4 @@ https://philipwalton.com/articles/deploying-es2015-code-in-production-today/
87
101
https://github.com/philipwalton/webpack-esnext-boilerplate
88
102
https://jakearchibald.com/2017/es-modules-in-browsers/
89
103
https://github.com/jantimon/html-webpack-plugin/issues/782
90
- https://github.com/philipwalton/webpack-esnext-boilerplate/issues/1
104
+ https://github.com/philipwalton/webpack-esnext-boilerplate/issues/1
0 commit comments