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
- Host: GitHub
- URL: https://github.com/hellohxz/webpack3-ie8
- Owner: HelloHxz
- License: mit
- Created: 2019-01-18T02:22:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-18T06:44:33.000Z (over 6 years ago)
- Last Synced: 2025-03-01T04:24:37.389Z (7 months ago)
- Topics: ie8, import, syntax-dynamic-import, webpack, webpack3
- Language: JavaScript
- Size: 220 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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