Skip to content

Commit

Permalink
Merge b83a483 into 0434921
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhuang01 committed Apr 18, 2019
2 parents 0434921 + b83a483 commit ea3ac49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions website/package.json
Expand Up @@ -51,6 +51,7 @@
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/preset-react": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"brfs-babel": "^1.0.0",
"css-loader": "^0.26.1",
"eslint": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion website/webpack.config.js
Expand Up @@ -13,7 +13,7 @@ const ALIASES = require('ocular-dev-tools/config/ocular.config')({
// Seems to be a Babel bug
// https://github.com/babel/babel-loader/issues/149#issuecomment-191991686
const BABEL_CONFIG = {
presets: ['@babel/preset-react'],
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: [
['@babel/plugin-proposal-decorators', {legacy: true}],
['@babel/plugin-proposal-class-properties', {loose: true}]
Expand Down

0 comments on commit ea3ac49

Please sign in to comment.