Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit 9da17a8

Browse files
Update README.md
1 parent ef0d4f1 commit 9da17a8

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

‎README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ This plugin simplifies the creation of script tags for module and nomodule for a
44

55
[![npm version](https://badge.fury.io/js/html-webpack-multi-build-plugin.svg)](http://badge.fury.io/js/html-webpack-multi-build-plugin)
66

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+
722
### Why do you want to do this?
823

924
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
4257
https://webpack.js.org/configuration/configuration-types/#exporting-multiple-configurations
4358

4459
### How to use this addon?
45-
4660
Check out my [Example Project](https://github.com/firsttris/html-webpack-multi-build-plugin/tree/master/example)
4761

4862
Summarized
@@ -87,4 +101,4 @@ https://philipwalton.com/articles/deploying-es2015-code-in-production-today/
87101
https://github.com/philipwalton/webpack-esnext-boilerplate
88102
https://jakearchibald.com/2017/es-modules-in-browsers/
89103
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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /