An open API service indexing awesome lists of open source software.

https://github.com/hellohxz/webpack3-ie8

webpack3 ie8
https://github.com/hellohxz/webpack3-ie8

ie8 import syntax-dynamic-import webpack webpack3

Last synced: 23 days ago
JSON representation

webpack3 ie8

Awesome Lists containing this project

README

          

# webpack3 ie8

> 1.npm install

> 2.删除node_modules\babel-runtime\helpers\classCallCheck.js 的抛出异常的代码

```
// node_modules\babel-runtime\helpers\classCallCheck.js

"use strict";

exports.__esModule = true;

exports.default = function (instance, Constructor) {
if (!(instance instanceof Constructor)) {
// 不然打包报错
// throw new TypeError("Cannot call a class as a function");
}
};

```

## 运行

> npm start

## 打包

> npm run build