Git Product home page Git Product logo

ie-webpack-start's Introduction

ie-webpack-start

Coverage Status  Coverage Status Coverage Status

Vue 用户请转至:vue-start

React 用户请转至:react-webpack-start

IE 9+ 用户请转至:avalon-webpack-start

重要

由于webpack不支持低版本IE下启动服务实时测试,必须通过打包才知道测试结果。
所以请用户自行在其他浏览器编写测试,最后回跑测试打包的IE
代码压缩导致无法兼容低版本IE,故取消代码压缩功能。
如有使用如Jquery第三方库的同学,最好自行引用它的min版本,而不是通过打包形式。(否则:反而使包变大)
本项目只是为用户提供使用ES6新特性的可能,和简单方便的管理资源。其他扩展功能不在本项目的范围内。

目录简介

  1. 介绍
  2. 程序目录
  3. 项目启动
  4. 使用手册
  5. 常见问题
  6. 更新日志
  7. 最重要的事情

介绍

这个一个以webpack2为基础,启用tree-shaking新技术,为打包支持到低版本的webpack2实验性脚手架。
本项目使用avalon2作为演示框架。

关于【Webpack】

  1. 服务端使用Express。需要注意的是,只有一个目的那就是提供了webpack-dev-middlewarewebpack-hot-middleware(代码热替换)。使用自定义的Express程序替换webpack-dev-server,让它更容易实现universal 渲染和为了不使这个包过于庞大。
  2. 针对不同的loader采用了多线程编译,极大的加快了编译速度。
  3. 可用ES6编译低版本IE代码【水有多深不得而知】
  4. 启动新技术tree-shaking
  5. 提供测试框架进行单元测试,代码覆盖率报告,可与Travis-ciCoveralls快速对接。【配置说明
  6. Babel被配置babel-plugin-transform-runtime可以让代码更优化。

关于【HTML】

  1. 支持单页应用和多页应用的混合开发。
  2. 自动引入页面的CSS和JS文件。无需手动设置URL。(所有文件hash的改变都会导致文件名改变,这里的资源引用全由内部自动完成)

关于【CSS】

  1. css的模块化,预处理器的编译。(支持sass,scss,less,postcss
  2. 针对低版本浏览器和其他浏览器内核的特殊性,启用autoprefixer自动添加浏览器前缀
  3. 可导入字体和字体图标,操作非常简单。(如阿里系icon)【配置文档
  4. 防缓存的hash规则

关于【JS】

  1. 支持ES5,ES6编写逻辑代码
  2. 由于兼容性问题只可使用AMD规范的require,无法使用 importexport
  3. 防缓存的hash规则
  4. 快速编译,自动刷新。

程序目录

├── build                    # 所有打包配置项
├── config                   # 项目配置文件
│   ├── webpack              # webpack配置文件夹
│   └── karma.conf.js        # karma配置文件
├── server                   # Express 程序 (使用 webpack 中间件)
│   └── main.js              # 服务端程序入口文件
├── static                   # 静态资源文件夹,将它视为项目根使用
|
├── app                      # 程序源文件
│   ├── html                 # 多页或单页应用的入口HTML
│   └──  source               # 公共的资源文件
│   ├    ├── css
│   ├    ├── js
│   ├    ├── font
│   ├    └── img             
│   ├── utils                # 辅助资源(所有内部文件通过index.js引入,可配置全局变量。)
│   └── view                 # 主路由和异步分割点
│       └── index            # 匹配html文件夹中的index.html。(css,js文件名对应文件夹名,可直接打包无需单独引入)
│           ├── index.js     # 直接与index.html匹配的入口文件,可以作为单页应用的入口,在内部定义自己的项目目录
│           ├── index.css    # 如是多页应用,可设置对应的CSS文件,直接匹配。
│           └── other **     # 页面的其他资源文件,通过index.js引入
└── tests                    # 单元测试

项目启动

环境配置

  • 为了把保证项目正常运行,请自行更新相关环境。
  1. 安装node.js
  2. 安装git
  3. 安装Yarn(可选)

依赖配置

  1. 首先clone项目
$ git clone https://github.com/sayll/ie-webpack-start.git
$ cd ie-webpack-start
  • 由于国内有一堵高墙的存在建议国内用户切换源地址:
$ npm run cnpm

以后请使用cnpm替代npm操作

  1. 下载依赖
  • 请确保你的环境配置完成,然后就可以开始以下步骤
    • npm 用户:
    $ npm install                   # Install project dependencies
    $ npm start                     # Compile and launch
    • cnpm 用户:
    $ cnpm install                   # Install project dependencies
    $ npm start                     # Compile and launch
    • Yarn 用户:
    $ yarn                          # Install project dependencies
    $ yarn start                    # Compile and launch

如果一切顺利,就能正常打开端口:http://localhost:3000/

命令说明

开发过程中,你用得最多的会是npm start,但是这里还有很多其它的处理:

npm run <script> 解释
start 启动3000端口服务,代码热替换开启。
build 单纯打包资源,不会进行代码测试。
deploy 删除旧文件,进行代码测试,打包相关文件(默认目录~/build)。
test 开启Karma测试并生成覆盖率报告。(默认关闭:启动配置)
visualizer 打包资源分析
clean 清除打包的文件
cnpm 替换为淘宝镜像
  • 开发使用 start
  • 调试IE使用 build
  • 发布使用deploy

使用手册

基本

  1. 创建HTML视图,文件地址:app/html

    • 创建单页应用,只需一个入口文件index.html即可。
  2. 配置JS,CSS资源文件,文件地址:app/view

    一. 创建html文件app/html/demo.html时,配置view中的资源文件:

    • app/view/demo/demo.js
    • app/view/demo/demo.css

    二. 创建html文件app/html/test/index.html时,配置view中的资源文件:

    • app/view/test/index/index.js
    • app/view/test/index/index.css

    三. 创建单页应用app/html/index.html时,配置view中的资源文件:

    • app/view/index/index.js
    • app/view/index/index.css
    • app/view/index中管理其他资源文件,通过唯一的文件入口index.js来引入其他资源文件
  3. 静态资源

    1. 如需直接引用静态资源文件,可在static文件夹中添加文件,将static视为项目根文件。
      • 如引用ico,通过 <link type="image/x-icon" href="logo.ico" rel="shortcut icon"/>即可

高级

  1. 使用框架(avalon2)或库(jquery)
  • 首先安装依赖 或 寻找兼容IE版本的库文件
$ npm install avalon2
// 由于avalon2内部自己解决绑定window对象,所以无需其他处理,直接引入即可。
window.$ = require('./tools/jquery.min');
require('avalon2');

注意:引包只能通过require形式,否则无法正常打包;(兼容低版本IE做出的牺牲之一)

  1. 引用字体图标Icon
  1. 使用CSS预处理器CDN或开启多文件路口main.js
  • 修改配置文件 文件地址:config/webpack/base/base.js
    • CSS预处理器修改项: cssType

      • 使用less下载依赖

        $ npm install less-loader less        # npm用户
        $ cnpm install less-loader less       # cnpm用户
        $ yarn add less-loader less           # yarn用户
      • 使用sass|scss下载依赖

        $ npm install sass-loader node-sass       # npm用户(由于墙的原因会有很大一部分人会失败,推荐使用cnpm)
        $ cnpm install sass-loader node-sass      # cnpm用户
        $ yarn add sass-loader node-sass      # yarn用户
      • 样式文件后缀需要与cssType对应;

        • 如使用less,请将app内部所有的样式文件后缀修改为.less
    • CDN修改项: cdnPath

    • main.js修改项: mainJS

    module.exports = {
      mainJS  : true, // 添加公共main.js
      devHost : '0.0.0.0',
      devPort : '3000',
      viewType: 'html', // pug,jade,html...
      cssType : 'css', // sass,scss,less,pcss,css...
      cdnPath : './', // 资源指向位置,可寄放CDN
    };
  1. 修改目录结构
  • 文件地址: config/webpack/base/files.js
    • 此文件使webpack正确索引资源文件,如需调整资源目录,请使目录资源与files.js中的配置一一对应。 具体请查看源码
  1. 单元测试(更多说明)

发布

  1. 打包命令
$ npm run build

$ npm run deploy
  • 二者区别
    • build 无测试,速度最快,安全系数较低。
    • deploy 当单元测试功能开启时,deploy将添加一个检测项。只有所有测试通过时,才能正常打包。速度慢,安全系数最高。(默认关闭,开启请参考:启动配置
  1. 打包文件为build文件夹,请以此为根目录。

常见问题

常见问题

更新日志

更新详情

最重要的事情

  • 亲不要吝啬自己的Star,右上角Star一下呗。

ie-webpack-start's People

Contributors

sayll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ie-webpack-start's Issues

关于引入CSS和使用哪种模块规范

请问下,如果我用npm安装了bootstrap,怎么才能引入bootstrap的CSS文件呢,我试了下直接require()不行,另外还有一个问题就是,是不是因为兼容性问题只能使用AMD规范定义模块,可以使用CommonJS规范定义模块吗?

HTML中直接引用img图片打包出错

HTML代码如下

    <img src="source/img/avatar.jpg" alt="" />
    <div>
        图标字体:
        <i class="icon icon-sliderR"></i>
    </div>
    <input ms-duplex="@name">
    <p>Hello,{{@name}}!</p>
    <ul>
        <li ms-for="($index,el) in @array">{{$index}}--{{el}}</li>
    </ul>

直接在HTML引用img图片,打包不成功,提示出错

$ cnpm run build

[email protected] build H:\xampp\htdocs\ie-webpack-start
better-npm-run build

running better-npm-run in H:\xampp\htdocs\ie-webpack-start
Executing script: build

to be executed: "webpack --config config/webpack/webpack.build"
Hash: c8060d7b03ed32e88bd4
Version: webpack 2.3.3
Time: 3607ms
[1] ./app/source/css/index.css 41 bytes {1} [built]
[2] ./app/view/index/index.css 41 bytes {3} [built]
[3] ./app/source/js/main.js 71 bytes {2} [built]
[4] ./app/view/index/index.js 336 bytes {3} [built]
[5] ./app/static/index.js 161 bytes {1} [built]
[6] ./app/source/img/avatar.jpg 59 bytes {3} [built]
[12] .//.4.5.9@es5-shim/es5-sham.js 22.6 kB {2} [built]
[13] ./
/.4.5.9@es5-shim/es5-shim.js 84.5 kB {2} [built]
[14] ./app/static/patch/console.js 3.82 kB {1} [built]
[15] ./app/static/tools/jquery.min.js 156 kB {1} [built]
[17] multi ./app/view/index/index.js ./app/view/index/index.css 40 bytes {3} [built]
[18] multi ./app/source/js/main.js 28 bytes {2} [built]
[19] multi lib css 40 bytes {1} [built]
[23] .//.0.26.4@css-loader?{"modules":false,"outputStyle":"expanded","sourceMap":false,"sourceMapContents": false}!.//.1.3.3@postcss-loader!./app/view/index/index.css 307 bytes [built]
[24] ./~/.0.13.2@style-loader/addStyles.js 6.91 kB [built]
+ 11 hidden modules

ERROR in Error: Child compilation failed:
Module not found: Error: Can't resolve './source/img/avatar.jpg' in 'H:\xampp\ htdocs\ie-webpack-start\app\ html':
Error: Can't resolve './source/img/avatar.jpg' in 'H:\xampp\htdocs\ie-webpack- start\app\html'

  • compiler.js:76
    [ie-webpack-start]/[.2.28.0@html-webpack-plugin]/lib/compiler.js:76:16

  • Compiler.js:291 Compiler.
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compiler.js:291:10

  • Compiler.js:494
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compiler.js:494:13

  • Tapable.js:138 next
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:138:11

  • CachePlugin.js:62 Compiler.
    [ie-webpack-start]/[.2.3.3@webpack]/lib/CachePlugin.js:62:5

  • Tapable.js:142 Compiler.applyPluginsAsyncSeries
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:142:13

  • Compiler.js:491
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compiler.js:491:10

  • Tapable.js:131 Compilation.applyPluginsAsyncSeries
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:131:46

  • Compilation.js:645 self.applyPluginsAsync.err
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compilation.js:645:19

  • Tapable.js:131 Compilation.applyPluginsAsyncSeries
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:131:46

  • Compilation.js:636 self.applyPluginsAsync.err
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compilation.js:636:11

  • Tapable.js:131 Compilation.applyPluginsAsyncSeries
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:131:46

  • Compilation.js:631 self.applyPluginsAsync.err
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compilation.js:631:10

  • Tapable.js:131 Compilation.applyPluginsAsyncSeries
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:131:46

  • Compilation.js:627 sealPart2
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compilation.js:627:9

  • Tapable.js:131 Compilation.applyPluginsAsyncSeries
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:131:46

  • Compilation.js:575 Compilation.seal
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compilation.js:575:8

  • Compiler.js:488
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compiler.js:488:16

  • Tapable.js:225
    [ie-webpack-start]/[.0.2.6@tapable]/lib/Tapable.js:225:11

  • Compilation.js:477 _addModuleChain
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compilation.js:477:11

  • Compilation.js:448 processModuleDependencies.err
    [ie-webpack-start]/[.2.3.3@webpack]/lib/Compilation.js:448:13

  • next_tick.js:67 _combinedTickCallback
    internal/process/next_tick.js:67:7

  • next_tick.js:98 process._tickCallback
    internal/process/next_tick.js:98:9

Child html-webpack-plugin for "index.html":
[0] ./~/.2.28.0@html-webpack-plugin/lib/loader.js!./app/html/index.html 597 bytes {0} [built]

ERROR in ./~/.2.28.0@html-webpack-plugin/lib/loader.js!./app/html/index.html
Module not found: Error: Can't resolve './source/img/avatar.jpg' in 'H:\xampp\htdocs\ie-webpack-start\app\                                          html'
 @ ./~/.2.28.0@html-webpack-plugin/lib/loader.js!./app/html/index.html 1:281-315

Child extract-text-webpack-plugin:
[0] ./app/source/img/avatar.jpg 59 bytes {0} [built]
[1] .//.0.26.4@css-loader/lib/css-base.js 1.46 kB {0} [built]
[2] ./
/.0.26.4@css-loader?{"modules":false,"outputStyle":"expanded","sourceMap":false,"sourceMapConten ts":false}!.//.1.3.3@postcss-loader!./app/view/index/index.css 307 bytes {0} [built]
Child extract-text-webpack-plugin:
[0] ./
/.0.26.4@css-loader/lib/css-base.js 1.46 kB {0} [built]
[1] .//.0.26.4@css-loader?{"modules":false,"outputStyle":"expanded","sourceMap":false,"sourceMapConten ts":false}!./app/source/css/parts/normalize.css 2.52 kB {0} [built]
[2] ./
/.0.26.4@css-loader?{"modules":false,"outputStyle":"expanded","sourceMap":false,"sourceMapConten ts":false}!./~/.1.3.3@postcss-loader!./app/source/css/index.css 365 bytes {0} [built]

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_mod ules\cnpm\node_modules\npm\bin\npm-cli.js" "--userconfig=C:\Users\Administrator\.cnpmrc" "--disturl=ht tps://npm.taobao.org/mirrors/node" "--registry=https://registry.npm.taobao.org" "run" "build"
npm ERR! node v6.9.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: better-npm-run build
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script 'better-npm-run build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ie-webpack-start package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! better-npm-run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ie-webpack-start
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ie-webpack-start
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! H:\xampp\htdocs\ie-webpack-start\npm-debug.log

样式文件和JS文件生成路径斜杠不正确

能不能将下面打包后的路径“\”改为"/" ,大神帮忙解决一下,非常感谢
<script type="text/javascript" src="./source\js\Common.f770778d.js"></script>
<link href="./source\css\Common.7daa6915.css" rel="stylesheet">

多页应用的混合开发,多级目录需要怎么配置

├── app                      
│   ├── html               
│   ├    ├──config
│   ├    ├     ├──index.html
│   ├    ├── index.html
│   └──  source               
│   ├    ├── css
│   ├    ├── js
│   ├    ├── font
│   ├    └── img             
│   ├── static            
│   └── view                
│       └── index          

如上结构,如需再APP>HTML下添加一层目录,会造成静态资源路径引用404,

组件模板

app/component/paging/ 为一分页组件,通过修改:config\webpack\modules\loader.js

  function cssLoader(test, loader, path = [files.viewPath, files.cssPath]) {   

 function cssLoader(test, loader, path = [files.viewPath, files.cssPath, files.componentPath]) {   

可解决组件中 CSS 引用图片路径不解析问题。

但不知道如何解决组件里模板文件,如:app/component/paging/template.html 直接引用图片 <img src="../../source/img/pic.jpg" alt="pic"> 路径解析问题。

热更新无效

昨天试用了你的项目,发现修改CSS时没有自动刷新。不知道你那里是否存在同样的问题
2b4 tir uqo oes 2 gw

开发环境下保存代码虽然刷新页面但是修改内容并未编译刷新

问题

开发环境下修改完代码之后,概率出现webpack: Compiled successfully但是页面没刷新;
概率出现虽然页面刷新了,但是修改的代码未生效。
抠脚的解决处理,复制几十行的console.log(“XXXX”)来让内容刷新,
为什么不重启?启动过程比较慢,所以我选择了抠脚

环境:

  • node v6.9.1
  • window 10 x64
  • ie-webpack-start 2.0

感谢作者为正在被低版本IE荼毒的开发人员做出的贡献

使用npm run build后,图片资源怎么看效果

在index.css样式里面加入图片路径 background: url('../../source/img/avatar.jpg');
打包后,提示找不到该图片,
为什么使用build命令,build目录不会生成图片assets文件夹
需要怎么操作呢?请大神指教

网页ico图标如何添加

如题,在页面header中添加代码

<link type="image/x-icon" href="../source/img/titlelogo.ico" rel="shortcut icon"/>
<link href="../source/img/titlelogo.ico" rel="bookmark icon"/>

图片路径无法识别;
在HtmlWebpackPlugin中添加favicon编译会报npm ERR! code ELIFECYCLE

@sayll 大神帮忙看看呗

样式中的图片生成路径不正确,图片打包后不能正确打开

目录是生成了,可是打包好的图片直接损坏了,不能查看和预览,
还有生成的样式中的文件,在浏览器不能正常显示,样式里面的路径 ./assets/
这样浏览器显示的路径是:build/source/css/assets/avatar-f9ffcd92.jpg
但assets文件夹是在build目录下面。

组件加载问题

default
要加载这种带CSS和图片的组件,应该怎么加载,目录应该怎么放置,注意事项是什么?求指点

ie8报错

直接clone的代码,本地 cnpm install,然后build,在ie8下执行build后的代码,出错。

报错信息:
SCRIPT1010: 缺少标识符
index.a3d2acf4.js (185,37)

查看代码:
webpack_require.e/* require.ensure */(0).then((function () {
var foo = webpack_require(20);
console.log(foo);

}).bind(null, webpack_require)).catch(webpack_require.oe); //185行

var vm = avalon.define({
$id: "test",
name: "司徒正美",
array: [11, 22, 33]
});
qq 20170427174646
qq 20170427174641

Illegal export declaration and illegal import declaration

相关包有redux-thunk依赖,然后报如下错误:

ERROR in .//redux-thunk/es/index.js
Module build failed: Error: Parse Error: Line 18: Illegal export declaration
at throwError (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:2823:21)
at throwErrorTolerant (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:2835:24)
at parseSourceElement (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6432:17)
at parseProgramElement (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6491:16)
at parseProgramElements (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6523:29)
at parseProgram (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6536:16)
at Object.parse (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:7713:23)
at getAstForSource (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\jstransform\src\jstransform.js:244:21)
at Object.transform (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\jstransform\src\jstransform.js:267:11)
at transform (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\es3ify\index.js:108:24)
at Object.module.exports (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\es3ify-loader\index.js:5:10)
@ ./
/react-form/es/components/Form.js 25:18-40

ERROR in .//redux/es/index.js
Module build failed: Error: Parse Error: Line 1: Illegal import declaration
at throwError (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:2823:21)
at throwErrorTolerant (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:2835:24)
at parseSourceElement (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6435:17)
at parseProgramElement (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6491:16)
at parseProgramElements (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6523:29)
at parseProgram (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:6536:16)
at Object.parse (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\esprima-fb\esprima.js:7713:23)
at getAstForSource (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\jstransform\src\jstransform.js:244:21)
at Object.transform (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\jstransform\src\jstransform.js:267:11)
at transform (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\es3ify\index.js:108:24)
at Object.module.exports (F:\Projects\com-work\education\edu-oxford\yey\oxford-yey-pc\node_modules\es3ify-loader\index.js:5:10)
@ ./
/react-form/es/components/Form.js 29:13-29
@ ./~/react-form/es/index.js
@ ./src/view/applicationNotes/applicationNotes.js
@ multi webpack-hot-middleware/client?reload=true ./src/view/applicationNotes/applicationNotes.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.