Skip to content

Commit

Permalink
sync dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Mar 6, 2019
1 parent a73d89c commit 423c6af
Show file tree
Hide file tree
Showing 4 changed files with 317 additions and 373 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"regenerator": true
}],
"@babel/plugin-syntax-dynamic-import",
// "styled-components",
// "babel-plugin-styled-components",
"lodash"
]
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
"timelimit": "^1.0.1"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.6",
"@babel/core": "^7.3.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.1.5",
"@babel/runtime": "^7.3.4",
"@types/bowser": "^1.1.1",
"@types/fast-levenshtein": "0.0.1",
"@types/fastclick": "^1.0.28",
Expand All @@ -43,7 +43,7 @@
"@types/shallowequal": "^1.1.1",
"awesome-typescript-loader": "^5.2.1",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-styled-components": "^1.8.0",
"babel-plugin-styled-components": "^1.10.0",
"copy-webpack-plugin": "^5.0.0",
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
Expand Down
3 changes: 0 additions & 3 deletions webpack/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

// const styledComponentsTransformer = createStyledComponentsTransformer()

const { createLodashTransformer } = require('typescript-plugin-lodash')

const tsOptions = env => env === 'dev' ? {
// getCustomTransformers: () => ({ before: [styledComponentsTransformer] }),
useCache: true,
} : {
getCustomTransformers: () => ({ before: [createLodashTransformer()] }),
ignoreDiagnostics: [],
}

Expand Down

0 comments on commit 423c6af

Please sign in to comment.