Skip to content

ediblecode/webpack3-ie8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoC for using ES6, Flow and Webpack 3 in IE8

IE8? Are you crazy?

Sadly, some of us still have to use IE8 for production apps. But we still want to use modern tooling. So this repo is an attempt to use ES6, Flow and Webpack in IE8.

Usage

npm i
npm start

Notes

  • Uses es3ify as a post loader to convert ES5 to ES3
  • Uses es5-shim from a CDN in the HTML source
  • "loose": true is needed in .babelrc to avoid Object.defineProperty
  • HMR needs to be turned off (adds Object.defineProperty that breaks IE8)
  • If you use UglifyJsPlugin don't forget the screw_ie8 option.

Related reading

About

PoC for using Webpack 3 in IE8

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published