magicapple / anujs-webpack4-ie7-8 Goto Github PK
View Code? Open in Web Editor NEW基于anujs和webpack4兼容ie7-8的配置
基于anujs和webpack4兼容ie7-8的配置
`import "core-js";
import React from "react";
import ReactDOM from "react-dom";
// import Box from './box';
// import ErrorBoundary from './errorBoundary';
// import ErrorComp from './errorComp';
// import SelectBox from './selectBox';
// import WrapBox from './wrapBox';
import { Link, Router } from "router";
const Home = () => (
render();`
i used axios and es6-promise at the head of the file(index.js)
error with "Unhandled promise rejection Error: 拒绝访问。"
use fetch-polyfill2,json3,blueBird still did not work
I am appreciate it if u can tell me how to fix,
thanks again
如题
Windows10_64bit
v8.12.0
6.4.1
https://registry.npm.taobao.org/
npm install
npm run start
> [email protected] start D:\private\anujs-webpack4-ie7-8
> node ./bin/dev.js
正在删除目录
webpack is watching the files…
(node:20760) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Hash: 83267094ee1bde66d79c
Version: webpack 4.20.2
Time: 2495ms
Built at: 2018-10-15 09:18:14
Asset Size Chunks Chunk Names
js/production.js 544 KiB production [emitted] production
js/production.js.map 426 KiB production [emitted] production
production.html 879 bytes [emitted]
Entrypoint production = js/production.js js/production.js.map
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {production} [built]
[./views/production/app.jsx] 6.66 KiB {production} [built]
[./views/production/box.jsx] 2.02 KiB {production} [built]
[./views/production/changDom.jsx] 3.83 KiB {production} [built]
[./views/production/createContext.jsx] 3.23 KiB {production} [built]
[./views/production/differentParent.jsx] 2.49 KiB {production} [built]
[./views/production/errorBoundary.jsx] 2.56 KiB {production} [built]
[./views/production/errorComp.jsx] 1.73 KiB {production} [built]
[./views/production/fixInsertDom.jsx] 4.6 KiB {production} [built]
[./views/production/innerBox.jsx] 3.04 KiB {production} [built]
[./views/production/insertDom.jsx] 3.96 KiB {production} [built]
[./views/production/selectBox.jsx] 4.36 KiB {production} [built]
[./views/production/wrapBox.jsx] 3.3 KiB {production} [built]
+ 304 hidden modules
Child HtmlWebpackCompiler:
1 asset
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[./node_modules/html-webpack-plugin/lib/loader.js!./views/production/index.ejs] 1.07 KiB {HtmlWebpackPlugin_0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {HtmlWebpackPlugin_0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 519 bytes {HtmlWebpackPlugin_0} [built]
+ 1 hidden module
while (node && node.nodeType == 1) {
var checkChange = node;
if (node.__events) {
var vnode = node.__events.vnode;
inner: while (vnode.return) { // 此行缺少标识符
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.