-
There are two big dependencies within iD, one is lodash, the other is d3. By using:
`import * as d3 from 'd3'` everything is imported. Within a modern setup using Rollup or Webpack2 this hinders Tree…
-
First of all, Thank you!! I have been looking for a boilerplate which includes React, SASS and webpack2 with most updated version and config. I had trouble setting up on my own, mainly on SASS compile…
-
- angular 2
- typescript
- hmr: https://teropa.info/blog/2016/08/08/angular-2-hot-loading-with-ngrx-store-and-webpack.html
- tslint
- .vscode
-
repo: https://github.com/hxl-dy/clappr-rtmp-plugin/tree/upgrade
upgrades:
1. jshint -> eslint
2. webpack1 -> webpack2
fix bugs:
following bugs will occur when I use webpack to package it to …
-
我是npm install之后,直接运行npm run dev,就报这个错误
`function Vue$3 (options) {
if ("development" !== 'production' &&
!(this instanceof Vue$3)) {
warn('Vue is a constructor and should be called wit…
-
```jsx
const styles = {
color: "red",
background: "#0f0",
fontSize: "32px"
};
const BTN = (props) => {
return (
My name is {props.name}
…
-
This is awesome project. I pretty much use it every day.
I would love to see this to identify which node versions the module can support without transpiling. In case of front end modules, it will help…
-
```
ERROR in ./src/components/role/projects.graphql
Module parse failed: /Users/hezhiqiang/webpack2/src/components/role/projects.graphql Unexpected token (1:6)
You may need an appr…
-
Currently there is an angular project which I think could benefit all Typescript users.
As we all know, Google closure compiler is still the most efficient minifier, however requires annotations for…
-
尝试如下
```
loaders: {
sass: ExtractTextPlugin.extract('style', 'css!scss')
}
```
`$style` 就会 undefined